aboutsummaryrefslogtreecommitdiff
path: root/res/anim
diff options
context:
space:
mode:
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>2013-05-28 12:55:21 +0400
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>2013-05-28 12:55:21 +0400
commit216eecc96a916568b3db5c5bb9a9083789cd262b (patch)
tree6c2d8b2ea1a047684edd7bb5f57037f1ca955ead /res/anim
parentab4480c6f5f1e772ee2f24bd09457d95d4608365 (diff)
add fancy animations for headlines list
Diffstat (limited to 'res/anim')
-rw-r--r--res/anim/headline_item.xml14
-rw-r--r--res/anim/layout_headline.xml5
2 files changed, 19 insertions, 0 deletions
diff --git a/res/anim/headline_item.xml b/res/anim/headline_item.xml
new file mode 100644
index 00000000..dbb60d23
--- /dev/null
+++ b/res/anim/headline_item.xml
@@ -0,0 +1,14 @@
+<?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="250"
+ />
+ <translate
+ android:fromXDelta="100%p"
+ android:toXDelta="0"
+ android:duration="250"
+ />
+</set>
+
diff --git a/res/anim/layout_headline.xml b/res/anim/layout_headline.xml
new file mode 100644
index 00000000..07b84d11
--- /dev/null
+++ b/res/anim/layout_headline.xml
@@ -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/headline_item"
+/> \ No newline at end of file