diff options
author | Andrew Dolgov <[email protected]> | 2014-10-15 16:41:33 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2014-10-15 16:41:33 +0400 |
commit | ddb85d210aede04602540ee6109c57984310afe3 (patch) | |
tree | b12cd8f3ba2d643d32a427c9b8d59af6814cb7b4 /res/layout/headlines_fragment.xml | |
parent | 09d124fd407b7ef7008a0365da63dd42587042ea (diff) |
remove pulltorefresh library, switch to swiperefreshlayout
Diffstat (limited to 'res/layout/headlines_fragment.xml')
-rw-r--r-- | res/layout/headlines_fragment.xml | 24 |
1 files changed, 15 insertions, 9 deletions
diff --git a/res/layout/headlines_fragment.xml b/res/layout/headlines_fragment.xml index 5df36557..712da85e 100644 --- a/res/layout/headlines_fragment.xml +++ b/res/layout/headlines_fragment.xml @@ -4,15 +4,21 @@ android:layout_width="fill_parent"
android:layout_height="fill_parent">
- <ListView
- android:id="@+id/headlines"
- android:layout_width="match_parent"
- android:layoutAnimation="@anim/layout_headline"
- android:dividerHeight="0dp"
- android:divider="@null"
- android:paddingTop="3dp"
- android:layout_height="match_parent" >
- </ListView>
+ <android.support.v4.widget.SwipeRefreshLayout
+ android:id="@+id/headlines_swipe_container"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent" >
+
+ <ListView
+ android:id="@+id/headlines"
+ android:layout_width="match_parent"
+ android:layoutAnimation="@anim/layout_headline"
+ android:dividerHeight="0dp"
+ android:divider="@null"
+ android:paddingTop="3dp"
+ android:layout_height="match_parent" >
+ </ListView>
+ </android.support.v4.widget.SwipeRefreshLayout>
<LinearLayout
android:id="@+id/loading_container"
|