am 20a8a441: Merge "Updates metadata for the SlidingTabsColors sample" into lmp-docs
* commit '20a8a441d2b76e4735921eb7b47db469b95992a7':
Updates metadata for the SlidingTabsColors sample
diff --git a/ui/views/SlidingTabs/SlidingTabsColors/screenshots/1-pre.png b/ui/views/SlidingTabs/SlidingTabsColors/screenshots/1-pre.png
new file mode 100644
index 0000000..38cd788
--- /dev/null
+++ b/ui/views/SlidingTabs/SlidingTabsColors/screenshots/1-pre.png
Binary files differ
diff --git a/ui/views/SlidingTabs/SlidingTabsColors/screenshots/2-morph.png b/ui/views/SlidingTabs/SlidingTabsColors/screenshots/2-morph.png
new file mode 100644
index 0000000..dad9c39
--- /dev/null
+++ b/ui/views/SlidingTabs/SlidingTabsColors/screenshots/2-morph.png
Binary files differ
diff --git a/ui/views/SlidingTabs/SlidingTabsColors/screenshots/3-post.png b/ui/views/SlidingTabs/SlidingTabsColors/screenshots/3-post.png
new file mode 100644
index 0000000..4c594a9
--- /dev/null
+++ b/ui/views/SlidingTabs/SlidingTabsColors/screenshots/3-post.png
Binary files differ
diff --git a/ui/views/SlidingTabs/SlidingTabsColors/template-params.xml b/ui/views/SlidingTabs/SlidingTabsColors/template-params.xml
index b249629..ecdad8c 100644
--- a/ui/views/SlidingTabs/SlidingTabsColors/template-params.xml
+++ b/ui/views/SlidingTabs/SlidingTabsColors/template-params.xml
@@ -42,4 +42,45 @@
<common src="activities"/>
<common src="view"/>
+ <metadata>
+ <status>PUBLISHED</status>
+ <categories>UI, Views</categories>
+ <technologies>Android</technologies>
+ <languages>Java</languages>
+ <solutions>Mobile</solutions>
+ <level>ADVANCED</level>
+ <icon>Application/src/main/res/drawable-xxhdpi/ic_launcher.png</icon>
+ <screenshots>
+ <img>screenshots/1-pre.png</img>
+ <img>screenshots/2-morph.png</img>
+ <img>screenshots/3-post.png</img>
+ </screenshots>
+ <api_refs>
+ <android>android.widget.HorizontalScrollView</android>
+ <android>android.support.v4.view.ViewPager</android>
+ </api_refs>
+ <description>
+<![CDATA[
+A more advanced sample which shows how to use SlidingTabLayout to display a custom
+ViewPager title strip, with custom coloring for each tab.
+]]>
+ </description>
+ <intro>
+<![CDATA[
+This sample consists of a custom [HorizontalScrollView][1] called `SlidingTabLayout` that is used
+with a [ViewPager][2] to provide a tab indicator component which gives constant feedback as to
+the user's scroll progress.
+
+The colors can be customized in two ways. The first and simplest is to provide an
+array of colors and the alternative is via the `TabColorizer` interface which gives
+complete control over which color is used for any individual position.
+
+The views used as tabs can be customized by calling `setCustomTabView(int, int)` providing the
+layout ID of the custom layout.
+
+[1]: http://developer.android.com/reference/android/widget/HorizontalScrollView.html
+[2]: http://developer.android.com/reference/android/support/v4/view/ViewPager.html
+]]>
+ </intro>
+ </metadata>
</sample>