We'll start off by creating a selector
Activity and a simple
NewsFeedActivity. In a news feed, we'll animate the latest headlines "in and out" using a timer. For this example we'll be working with some of the default animations provided by Android and driving the process mainly through the layout resources.
android create project -n AnimationExamples -p AnimationExamples -k com.packtpub.animations -a AnimationSelector -t 3
res/layout/main.xmllayout file in an editor or IDE.
LinearLayoutconsuming all ...