123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- <?xml version="1.0" encoding="utf-8"?>
- <!--
- This must be a clone of list_fragment.xml
- EXCEPT: ExpandableListView must be used for @+id/swipe_refresh_files_emptyView
- -->
- <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_weight="1" >
- <android.support.v4.widget.SwipeRefreshLayout
- android:id="@+id/swipe_refresh_files"
- android:layout_width="match_parent"
- android:layout_height="match_parent" >
- <ExpandableListView
- android:id="@+id/list_root"
- android:layout_width="match_parent"
- android:layout_height="match_parent" />
-
- </android.support.v4.widget.SwipeRefreshLayout>
- <android.support.v4.widget.SwipeRefreshLayout
- android:id="@+id/swipe_refresh_files_emptyView"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:visibility="gone" >
- <ScrollView
- android:layout_width="match_parent"
- android:layout_height="match_parent" >
- <TextView
- android:id="@+id/empty_list_view"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:gravity="center_vertical|center_horizontal"
- android:text="@string/empty"
- android:layout_gravity="center"
- android:visibility="visible" />
- </ScrollView>
- </android.support.v4.widget.SwipeRefreshLayout>
- </FrameLayout>
|