Android ViewAnimator Archives - Androhub

TextSwitcher

Android TextSwitcher

A TextSwitcher is a specialized ViewSwitcher that contains only children of type TextView. A TextSwitcher is useful to animate a label on screen. Whenever setText(CharSequence) is called, TextSwitcher animates the current text out and animates the new text in. To learn Basic of Android Animation  go to  Android Animation Tutorial. Two types animations are required for 

Read More
ViewAnimator

Android ViewAnimator

A ViewAnimator  is used to animate or switch between the screens. To learn Basic of Android Animation  go to  Android Animation Tutorial. Example In this example i will show how to use ViewAnimator  to switch between screen with Animation. VIDEO DEMO Let’s get start by creating a project in Eclipse IDE. 1. Create a new project in Eclipse by

Read More
ViewSwitcher

Android ViewSwitcher

ViewSwitcher is a sub-class of ViewAnimator, switches between two views, and has a factory from which these views are created. You can either use the factory to create the views, or add them yourself. A ViewSwitcher can only have two child views, of which only one is shown at a time. If you have more than

Read More