Updating metadata for TextSwitcher sample
Change-Id: I0f8a82c9f8a0c78a89b9b9e23da91855d9e1015f
diff --git a/ui/views/TextSwitcher/screenshots/icon-web.png b/ui/views/TextSwitcher/screenshots/icon-web.png
new file mode 100644
index 0000000..e533966
--- /dev/null
+++ b/ui/views/TextSwitcher/screenshots/icon-web.png
Binary files differ
diff --git a/ui/views/TextSwitcher/screenshots/main.png b/ui/views/TextSwitcher/screenshots/main.png
new file mode 100644
index 0000000..3db8968
--- /dev/null
+++ b/ui/views/TextSwitcher/screenshots/main.png
Binary files differ
diff --git a/ui/views/TextSwitcher/template-params.xml b/ui/views/TextSwitcher/template-params.xml
index 365c708..f29e2cd 100644
--- a/ui/views/TextSwitcher/template-params.xml
+++ b/ui/views/TextSwitcher/template-params.xml
@@ -35,4 +35,42 @@
<template src="base"/>
<common src="logger"/>
+ <metadata>
+ <status>PUBLISHED</status>
+ <categories>UI</categories>
+ <technologies>Android</technologies>
+ <languages>Java</languages>
+ <solutions>Mobile</solutions>
+ <level>INTERMEDIATE</level>
+ <icon>screenshots/icon-web.png</icon>
+ <screenshots>
+ <img>screenshots/main.png</img>
+ </screenshots>
+ <api_refs>
+ <android>android.widget.TextSwitcher</android>
+ </api_refs>
+
+ <description>
+ <![CDATA[
+This sample illustrates the use of a TextSwitcher to display animations for text changes.
+ ]]>
+ </description>
+
+ <intro>
+ <![CDATA[
+This sample shows the use of the [android.widget.TextSwitcher][1] View with animations. A
+TextSwitcher is a special type of [android.widget.ViewSwitcher][2] that animates
+the current text out and new text in when
+[android.widget.TextSwitcher#setText(CharSequence)][3] is called.
+
+Click the "Next" button to set new text in the TextSwitcher and observe the
+in and out fade animations.
+
+[1]: http://developer.android.com/reference/android/widget/TextSwitcher.html
+[2]: http://developer.android.com/reference/android/widget/ViewSwitcher.html
+[3]: http://developer.android.com/reference/android/widget/TextSwitcher.html#setText(java.lang.CharSequence)
+ ]]>
+ </intro>
+ </metadata>
+
</sample>