aboutsummaryrefslogtreecommitdiff
path: root/ui/views/TextSwitcher/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'ui/views/TextSwitcher/README.md')
-rw-r--r--ui/views/TextSwitcher/README.md30
1 files changed, 24 insertions, 6 deletions
diff --git a/ui/views/TextSwitcher/README.md b/ui/views/TextSwitcher/README.md
index d5bb7d6f..973e94e5 100644
--- a/ui/views/TextSwitcher/README.md
+++ b/ui/views/TextSwitcher/README.md
@@ -1,18 +1,36 @@
+
Android TextSwitcher Sample
-==============================
+===================================
+
+This sample illustrates the use of a TextSwitcher to display animations for text changes.
+
+Introduction
+------------
-This sample illustrates the use of a TextSwitcher to display text.
+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 button below to set new text in the TextSwitcher and observe the
+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)
+
Pre-requisites
--------------
-- Android SDK v20
-- Android Build Tools v20
+- Android SDK v23
+- Android Build Tools v22.0.1
- Android Support Repository
+Screenshots
+-------------
+
+<img src="screenshots/main.png" height="400" alt="Screenshot"/>
+
Getting Started
---------------
@@ -43,7 +61,7 @@ file to you under the Apache License, Version 2.0 (the "License"); you may not
use this file except in compliance with the License. You may obtain a copy of
the License at
- http://www.apache.org/licenses/LICENSE-2.0
+http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS, WITHOUT