projects
/
pub
/
Android
/
ownCloud.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
baf17c2
)
Modify list_fragment.xml, adding SwipePrefreshLayout
author
masensio
<masensio@solidgear.es>
Thu, 29 May 2014 13:51:38 +0000
(15:51 +0200)
committer
masensio
<masensio@solidgear.es>
Thu, 29 May 2014 13:51:38 +0000
(15:51 +0200)
res/layout/list_fragment.xml
patch
|
blob
|
blame
|
history
diff --git
a/res/layout/list_fragment.xml
b/res/layout/list_fragment.xml
index
00e6b41
..
8c578b7
100644
(file)
--- a/
res/layout/list_fragment.xml
+++ b/
res/layout/list_fragment.xml
@@
-23,13
+23,19
@@
android:layout_weight="1"
android:orientation="vertical" >
android:layout_weight="1"
android:orientation="vertical" >
- <com.owncloud.android.ui.ExtendedListView
- android:id="@+id/
list_root
"
+ <android.support.v4.widget.SwipeRefreshLayout
+ android:id="@+id/
srl_main
"
android:layout_width="match_parent"
android:layout_width="match_parent"
- android:layout_height="0dip"
- android:layout_weight="1"
- />
-
+ android:layout_height="match_parent" >
+
+ <com.owncloud.android.ui.ExtendedListView
+ android:id="@+id/list_root"
+ android:layout_width="match_parent"
+ android:layout_height="0dip"
+ android:layout_weight="1" />
+
+ </android.support.v4.widget.SwipeRefreshLayout>
+
<TextView
android:id="@+id/empty_list_view"
android:layout_width="match_parent"
<TextView
android:id="@+id/empty_list_view"
android:layout_width="match_parent"