mirror of
https://github.com/nextcloud/android.git
synced 2024-12-18 06:51:55 +03:00
46 lines
1.5 KiB
XML
46 lines
1.5 KiB
XML
|
<?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>
|