mirror of
https://github.com/nextcloud/android.git
synced 2024-11-23 21:55:48 +03:00
6d5c6f86e5
Conflicts: owncloud-android-library res/layout/list_fragment.xml res/values-fr/strings.xml src/com/owncloud/android/datamodel/ThumbnailsCacheManager.java src/com/owncloud/android/ui/adapter/FileListListAdapter.java src/com/owncloud/android/ui/adapter/LocalFileListAdapter.java src/com/owncloud/android/ui/fragment/ExtendedListFragment.java src/com/owncloud/android/ui/fragment/LocalFileListFragment.java src/com/owncloud/android/ui/fragment/OCFileListFragment.java
63 lines
No EOL
2.4 KiB
XML
63 lines
No EOL
2.4 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
ownCloud Android client application
|
|
|
|
Copyright (C) 2012 Bartek Przybylski
|
|
Copyright (C) 2012-2013 ownCloud Inc.
|
|
|
|
This program is free software: you can redistribute it and/or modify
|
|
it under the terms of the GNU General Public License version 2,
|
|
as published by the Free Software Foundation.
|
|
|
|
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/>.
|
|
-->
|
|
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:layout_width="match_parent"
|
|
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"
|
|
android:layout_weight="1"
|
|
android:footerDividersEnabled="false" >
|
|
|
|
<com.owncloud.android.ui.ExtendedListView
|
|
android:id="@+id/list_root"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:columnWidth="100dp"
|
|
android:gravity="center"
|
|
android:horizontalSpacing="2dp"
|
|
android:numColumns="auto_fit"
|
|
android:stretchMode="columnWidth"
|
|
android:verticalSpacing="2dp"
|
|
android:visibility="visible" />
|
|
|
|
</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" >
|
|
|
|
<TextView
|
|
android:id="@+id/empty_list_view"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center"
|
|
android:gravity="center_vertical|center_horizontal"
|
|
android:text="@string/empty"
|
|
android:visibility="visible" />
|
|
</android.support.v4.widget.SwipeRefreshLayout>
|
|
|
|
</FrameLayout> |