add fancy animations for feed/cat lists
This commit is contained in:
parent
216eecc96a
commit
29b5d95e90
9
res/anim/feed_item.xml
Normal file
9
res/anim/feed_item.xml
Normal 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>
|
||||
|
5
res/anim/layout_feeds.xml
Normal file
5
res/anim/layout_feeds.xml
Normal 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"
|
||||
/>
|
@ -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>
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user