nextcloud-android/res/layout/upload_files_layout.xml

92 lines
3.2 KiB
XML
Raw Normal View History

2012-08-14 14:37:08 +04:00
<?xml version="1.0" encoding="utf-8"?>
<!--
ownCloud Android client application
2015-03-05 15:27:45 +03:00
Copyright (C) 2015 ownCloud Inc.
2013-02-07 21:45:10 +04:00
2012-08-14 14:37:08 +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-08-14 14:37:08 +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/>.
-->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
2012-08-14 14:37:08 +04:00
android:id="@+id/upload_files_layout"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical" >
2015-03-05 15:27:45 +03:00
<include
layout="@layout/toolbar_standard" />
2012-08-14 14:37:08 +04:00
<fragment
android:id="@+id/local_files_list"
android:layout_width="match_parent"
android:layout_height="0dip"
android:layout_weight="1"
class="com.owncloud.android.ui.fragment.LocalFileListFragment" />
2015-03-05 15:27:45 +03:00
2015-09-27 21:43:18 +03:00
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">
<ImageView
android:layout_width="match_parent"
android:layout_height="1dp"
android:src="@drawable/uploader_list_separator"/>
</LinearLayout>
2015-09-21 09:57:00 +03:00
<LinearLayout
android:orientation="horizontal"
android:layout_width="match_parent"
2015-09-27 21:32:44 +03:00
android:layout_height="wrap_content"
2015-09-27 21:43:18 +03:00
android:paddingTop="8dp"
2015-09-27 21:32:44 +03:00
android:paddingLeft="16dp"
android:paddingRight="16dp">
2015-09-21 09:57:00 +03:00
2016-07-31 13:14:33 +03:00
<Spinner
android:layout_width="wrap_content"
2015-09-21 09:57:00 +03:00
android:layout_height="wrap_content"
2016-07-31 13:14:33 +03:00
android:id="@+id/upload_files_spinner_behaviour"
android:layout_weight="1"/>
2015-09-21 09:57:00 +03:00
</LinearLayout>
2012-08-14 14:37:08 +04:00
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center"
2015-09-27 21:43:18 +03:00
android:orientation="horizontal"
android:paddingLeft="16dp"
android:paddingRight="16dp"
android:paddingBottom="16dp">
2015-03-05 15:27:45 +03:00
2015-08-07 18:09:47 +03:00
<android.support.v7.widget.AppCompatButton
2012-08-14 14:37:08 +04:00
android:id="@+id/upload_files_btn_cancel"
2015-08-12 19:54:27 +03:00
android:theme="@style/Button"
2012-08-14 14:37:08 +04:00
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="@string/common_cancel"
android:layout_marginRight="@dimen/standard_half_margin"/>
2015-03-05 15:27:45 +03:00
2015-08-07 18:09:47 +03:00
<android.support.v7.widget.AppCompatButton
2012-08-14 14:37:08 +04:00
android:id="@+id/upload_files_btn_upload"
2015-08-12 19:54:27 +03:00
android:theme="@style/Button.Primary"
2012-08-14 14:37:08 +04:00
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="@string/uploader_btn_upload_text" />
</LinearLayout>
</LinearLayout>