diff options
| author | Andrew Dolgov <fox@madoka.volgo-balt.ru> | 2014-10-15 16:41:33 +0400 |
|---|---|---|
| committer | Andrew Dolgov <fox@madoka.volgo-balt.ru> | 2014-10-15 16:41:33 +0400 |
| commit | ddb85d210aede04602540ee6109c57984310afe3 (patch) | |
| tree | b12cd8f3ba2d643d32a427c9b8d59af6814cb7b4 /res/layout/cats_fragment.xml | |
| parent | 09d124fd407b7ef7008a0365da63dd42587042ea (diff) | |
remove pulltorefresh library, switch to swiperefreshlayout
Diffstat (limited to 'res/layout/cats_fragment.xml')
| -rw-r--r-- | res/layout/cats_fragment.xml | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/res/layout/cats_fragment.xml b/res/layout/cats_fragment.xml index a883bf9f..cc295e1c 100644 --- a/res/layout/cats_fragment.xml +++ b/res/layout/cats_fragment.xml @@ -18,13 +18,19 @@ </TextView>
</LinearLayout>
- <ListView
- android:id="@+id/feeds"
- android:layoutAnimation="@anim/layout_feeds"
- android:layout_width="match_parent"
- android:layout_height="match_parent" >
- </ListView>
+ <android.support.v4.widget.SwipeRefreshLayout
+ android:id="@+id/feeds_swipe_container"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent" >
+ <ListView
+ android:id="@+id/feeds"
+ android:layoutAnimation="@anim/layout_feeds"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent" >
+ </ListView>
+ </android.support.v4.widget.SwipeRefreshLayout>
+
<TextView
android:id="@+id/no_feeds"
android:layout_width="wrap_content"
|