diff options
author | Andrew Dolgov <[email protected]> | 2013-06-02 22:57:25 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2013-06-02 22:57:25 +0400 |
commit | 279f7f8cb6a3f2d70916e24bf59a91b0d7f2b3fa (patch) | |
tree | 3667638e4fb4c6ede80449ec18132604839e9fcb /res | |
parent | 6661a5801e679f8f21ece7cbdd4f2dd3a4ae5eee (diff) |
add actionbarsherlock stuff
fix project for ADT 22 (fuck you google)
Diffstat (limited to 'res')
-rw-r--r-- | res/anim/appear.xml | 9 | ||||
-rw-r--r-- | res/anim/layout_comics.xml | 5 | ||||
-rw-r--r-- | res/layout/fragment_comics_list.xml | 10 |
3 files changed, 18 insertions, 6 deletions
diff --git a/res/anim/appear.xml b/res/anim/appear.xml new file mode 100644 index 0000000..a60e055 --- /dev/null +++ b/res/anim/appear.xml @@ -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>
+
diff --git a/res/anim/layout_comics.xml b/res/anim/layout_comics.xml new file mode 100644 index 0000000..93a58f1 --- /dev/null +++ b/res/anim/layout_comics.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/appear"
+/>
diff --git a/res/layout/fragment_comics_list.xml b/res/layout/fragment_comics_list.xml index ee744a8..cdef287 100644 --- a/res/layout/fragment_comics_list.xml +++ b/res/layout/fragment_comics_list.xml @@ -6,6 +6,7 @@ <ListView
android:id="@+id/comics_list"
+ android:layoutAnimation="@anim/layout_comics"
android:layout_width="match_parent"
android:layout_height="wrap_content" >
</ListView>
@@ -14,12 +15,9 @@ android:id="@+id/no_comics"
android:layout_width="match_parent"
android:layout_height="match_parent"
- android:layout_gravity="center"
- android:padding="4dp"
- android:orientation="vertical" >
-
-
-
+ android:layout_gravity="center"
+ android:orientation="vertical"
+ android:padding="4dp" >
<TextView
android:id="@+id/textView1"
|