add fancy animations for feed/cat lists

This commit is contained in:
Andrew Dolgov 2013-05-28 12:59:10 +04:00
parent 216eecc96a
commit 29b5d95e90
4 changed files with 16 additions and 0 deletions

9
res/anim/feed_item.xml Normal file
View File

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<set xmlns:android="http://schemas.android.com/apk/res/android" android:interpolator="@android:anim/accelerate_interpolator">
<alpha
android:fromAlpha="0"
android:toAlpha="1"
android:duration="150"
/>
</set>

View File

@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<layoutAnimation xmlns:android="http://schemas.android.com/apk/res/android"
android:delay="20%"
android:animation="@anim/feed_item"
/>

View File

@ -20,6 +20,7 @@
<ListView
android:id="@+id/feeds"
android:layoutAnimation="@anim/layout_feeds"
android:layout_width="match_parent"
android:layout_height="match_parent" >
</ListView>

View File

@ -20,6 +20,7 @@
<ListView
android:id="@+id/feeds"
android:layoutAnimation="@anim/layout_feeds"
android:layout_width="match_parent"
android:layout_height="match_parent" >
</ListView>