2012-10-17 21:22:40 +04:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2014-09-15 11:41:54 +04:00
|
|
|
<!--
|
2012-10-17 21:22:40 +04:00
|
|
|
ownCloud Android client application
|
|
|
|
|
|
|
|
Copyright (C) 2012 Bartek Przybylski
|
2015-03-05 15:27:45 +03:00
|
|
|
Copyright (C) 2015 ownCloud Inc.
|
2013-02-07 21:45:10 +04:00
|
|
|
|
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-09-15 11:41:54 +04:00
|
|
|
-->
|
2015-08-18 02:34:45 +03:00
|
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:fab="http://schemas.android.com/apk/res-auto"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent">
|
|
|
|
|
2014-07-24 20:34:12 +04:00
|
|
|
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2014-09-15 11:41:54 +04:00
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
2015-08-18 02:34:45 +03:00
|
|
|
xmlns:fab="http://schemas.android.com/apk/res-auto"
|
2014-09-15 21:12:12 +04:00
|
|
|
android:layout_width="match_parent"
|
2015-08-18 02:34:45 +03:00
|
|
|
android:layout_height="match_parent">
|
2012-10-17 21:22:40 +04:00
|
|
|
|
2014-05-29 17:51:38 +04:00
|
|
|
<android.support.v4.widget.SwipeRefreshLayout
|
2015-02-17 16:00:18 +03:00
|
|
|
android:id="@+id/swipe_containing_list"
|
2012-10-17 21:22:40 +04:00
|
|
|
android:layout_width="match_parent"
|
2015-08-18 02:34:45 +03:00
|
|
|
android:layout_height="match_parent"
|
2015-02-17 16:00:18 +03:00
|
|
|
android:footerDividersEnabled="false"
|
|
|
|
android:visibility="visible" >
|
2014-10-24 20:18:06 +04:00
|
|
|
|
2015-02-17 16:00:18 +03:00
|
|
|
<com.owncloud.android.ui.ExtendedListView
|
2014-05-29 17:51:38 +04:00
|
|
|
android:id="@+id/list_root"
|
|
|
|
android:layout_width="match_parent"
|
2014-09-15 21:12:12 +04:00
|
|
|
android:layout_height="match_parent"
|
2015-11-04 12:51:43 +03:00
|
|
|
android:divider="@color/list_divider_background"
|
|
|
|
android:dividerHeight="1px"
|
2015-02-17 16:00:18 +03:00
|
|
|
android:visibility="visible" />
|
|
|
|
|
|
|
|
</android.support.v4.widget.SwipeRefreshLayout>
|
|
|
|
|
|
|
|
<android.support.v4.widget.SwipeRefreshLayout
|
|
|
|
android:id="@+id/swipe_containing_grid"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:footerDividersEnabled="false"
|
|
|
|
android:visibility="gone" >
|
|
|
|
|
|
|
|
<third_parties.in.srain.cube.GridViewWithHeaderAndFooter
|
|
|
|
android:id="@+id/grid_root"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
2016-10-07 04:02:45 +03:00
|
|
|
android:columnWidth="@dimen/list_fragment_column_width"
|
2014-09-15 21:12:12 +04:00
|
|
|
android:gravity="center"
|
2016-10-07 04:02:45 +03:00
|
|
|
android:horizontalSpacing="@dimen/list_fragment_spacing"
|
2014-09-15 21:12:12 +04:00
|
|
|
android:stretchMode="columnWidth"
|
2016-10-07 04:02:45 +03:00
|
|
|
android:verticalSpacing="@dimen/list_fragment_spacing"
|
2014-09-15 21:12:12 +04:00
|
|
|
android:visibility="visible" />
|
2014-09-17 19:21:26 +04:00
|
|
|
|
2014-05-29 17:51:38 +04:00
|
|
|
</android.support.v4.widget.SwipeRefreshLayout>
|
2015-02-17 16:00:18 +03:00
|
|
|
|
2015-02-03 11:52:22 +03:00
|
|
|
<android.support.v4.widget.SwipeRefreshLayout
|
2015-02-17 16:00:18 +03:00
|
|
|
android:id="@+id/swipe_containing_empty"
|
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" >
|
2015-01-20 12:43:39 +03:00
|
|
|
<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:layout_gravity="center"
|
|
|
|
android:gravity="center_vertical|center_horizontal"
|
|
|
|
android:text="@string/empty"
|
|
|
|
android:visibility="visible" />
|
|
|
|
</ScrollView>
|
2014-07-29 17:04:06 +04:00
|
|
|
</android.support.v4.widget.SwipeRefreshLayout>
|
2014-09-15 11:41:54 +04:00
|
|
|
|
2015-08-18 02:34:45 +03:00
|
|
|
</FrameLayout>
|
|
|
|
<com.getbase.floatingactionbutton.FloatingActionsMenu
|
|
|
|
android:id="@+id/fab_main"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_alignParentBottom="true"
|
|
|
|
android:layout_alignParentRight="true"
|
|
|
|
android:layout_alignParentEnd="true"
|
2016-03-08 19:11:59 +03:00
|
|
|
fab:fab_addButtonColorNormal="@color/primary_button_background_color"
|
2015-08-18 02:34:45 +03:00
|
|
|
fab:fab_addButtonColorPressed="@color/owncloud_blue"
|
|
|
|
fab:fab_addButtonPlusIconColor="@color/white"
|
|
|
|
fab:fab_labelStyle="@style/menu_labels_style"
|
|
|
|
android:layout_marginBottom="@dimen/standard_margin"
|
|
|
|
android:layout_marginRight="@dimen/standard_margin"
|
2015-10-27 15:39:50 +03:00
|
|
|
android:layout_marginEnd="@dimen/standard_margin"
|
|
|
|
android:visibility="gone">
|
2015-08-18 02:34:45 +03:00
|
|
|
|
|
|
|
<com.getbase.floatingactionbutton.FloatingActionButton
|
|
|
|
android:id="@+id/fab_upload"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
fab:fab_size="mini"
|
|
|
|
fab:fab_icon="@drawable/ic_action_upload"
|
2016-03-08 19:11:59 +03:00
|
|
|
fab:fab_colorNormal="@color/primary_button_background_color"
|
2015-09-12 14:09:33 +03:00
|
|
|
fab:fab_colorPressed="@color/owncloud_blue"
|
|
|
|
fab:fab_title=""/>
|
2015-08-18 02:34:45 +03:00
|
|
|
|
|
|
|
<com.getbase.floatingactionbutton.FloatingActionButton
|
2016-04-04 11:23:56 +03:00
|
|
|
android:id="@+id/fab_upload_from_app"
|
2015-08-18 02:34:45 +03:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
fab:fab_size="mini"
|
2016-04-04 11:23:56 +03:00
|
|
|
fab:fab_icon="@drawable/ic_import"
|
2016-03-08 19:11:59 +03:00
|
|
|
fab:fab_colorNormal="@color/primary_button_background_color"
|
2015-09-12 14:09:33 +03:00
|
|
|
fab:fab_colorPressed="@color/owncloud_blue"
|
|
|
|
fab:fab_title=""/>
|
2015-08-18 02:34:45 +03:00
|
|
|
|
|
|
|
<com.getbase.floatingactionbutton.FloatingActionButton
|
2016-04-04 11:23:56 +03:00
|
|
|
android:id="@+id/fab_mkdir"
|
2015-08-18 02:34:45 +03:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
fab:fab_size="mini"
|
2016-04-04 11:23:56 +03:00
|
|
|
fab:fab_icon="@drawable/ic_action_create_dir"
|
2016-03-08 19:11:59 +03:00
|
|
|
fab:fab_colorNormal="@color/primary_button_background_color"
|
2015-09-12 14:09:33 +03:00
|
|
|
fab:fab_colorPressed="@color/owncloud_blue"
|
|
|
|
fab:fab_title=""/>
|
2015-08-18 02:34:45 +03:00
|
|
|
|
|
|
|
</com.getbase.floatingactionbutton.FloatingActionsMenu>
|
|
|
|
</RelativeLayout>
|