2012-10-17 21:22:40 +04:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<!--
|
|
|
|
ownCloud Android client application
|
|
|
|
|
|
|
|
Copyright (C) 2012 Bartek Przybylski
|
2013-02-07 21:45:10 +04:00
|
|
|
Copyright (C) 2012-2013 ownCloud Inc.
|
|
|
|
|
2012-10-17 21:22:40 +04:00
|
|
|
This program is free software: you can redistribute it and/or modify
|
2013-04-17 14:26:13 +04:00
|
|
|
it under the terms of the GNU General Public License version 2,
|
|
|
|
as published by the Free Software Foundation.
|
2012-10-17 21:22:40 +04:00
|
|
|
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
GNU General Public License for more details.
|
|
|
|
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
|
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
-->
|
2014-07-24 20:34:12 +04:00
|
|
|
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2013-06-04 16:30:29 +04:00
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="match_parent"
|
2014-07-24 20:34:12 +04:00
|
|
|
android:layout_weight="1" >
|
2012-10-17 21:22:40 +04:00
|
|
|
|
2014-05-29 17:51:38 +04:00
|
|
|
<android.support.v4.widget.SwipeRefreshLayout
|
2014-05-29 19:07:16 +04:00
|
|
|
android:id="@+id/swipe_refresh_files"
|
2012-10-17 21:22:40 +04:00
|
|
|
android:layout_width="match_parent"
|
2014-05-29 17:51:38 +04:00
|
|
|
android:layout_height="match_parent" >
|
|
|
|
|
|
|
|
<com.owncloud.android.ui.ExtendedListView
|
|
|
|
android:id="@+id/list_root"
|
|
|
|
android:layout_width="match_parent"
|
2014-07-24 20:34:12 +04:00
|
|
|
android:layout_height="match_parent" />
|
2014-05-29 17:51:38 +04:00
|
|
|
|
|
|
|
</android.support.v4.widget.SwipeRefreshLayout>
|
|
|
|
|
2014-07-29 17:04:06 +04:00
|
|
|
<android.support.v4.widget.SwipeRefreshLayout
|
|
|
|
android:id="@+id/swipe_refresh_files_emptyView"
|
2012-10-17 21:22:40 +04:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
2014-07-29 17:04:06 +04:00
|
|
|
android:visibility="gone" >
|
|
|
|
|
|
|
|
<ScrollView
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent" >
|
2012-10-17 21:22:40 +04:00
|
|
|
|
2014-07-29 17:04:06 +04:00
|
|
|
<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"
|
2014-07-30 11:35:31 +04:00
|
|
|
android:layout_gravity="center"
|
2014-07-29 17:04:06 +04:00
|
|
|
android:visibility="visible" />
|
|
|
|
|
|
|
|
</ScrollView>
|
|
|
|
</android.support.v4.widget.SwipeRefreshLayout>
|
2014-07-24 20:34:12 +04:00
|
|
|
</FrameLayout>
|