nextcloud-android/src/main/res/layout/upload_files_layout.xml

101 lines
3.6 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"
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="0dp"
2012-08-14 14:37:08 +04:00
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"
android:contentDescription="@null"/>
2015-09-27 21:43:18 +03:00
</LinearLayout>
2015-09-21 09:57:00 +03:00
<LinearLayout
android:id="@+id/upload_options"
android:orientation="vertical"
2015-09-21 09:57:00 +03:00
android:layout_width="match_parent"
2015-09-27 21:32:44 +03:00
android:layout_height="wrap_content"
android:paddingTop="@dimen/standard_half_padding"
android:paddingBottom="0dp"
android:paddingLeft="@dimen/standard_padding"
android:paddingRight="@dimen/standard_padding">
2015-09-21 09:57:00 +03:00
<TextView
android:layout_width="match_parent"
2015-09-21 09:57:00 +03:00
android:layout_height="wrap_content"
android:text="@string/uploader_upload_files_behaviour"
android:textColor="@color/black"
android:textStyle="bold"
android:paddingBottom="@dimen/standard_half_padding"/>
<Spinner
android:layout_width="match_parent"
android:layout_height="0dp"
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:padding="@dimen/standard_padding">
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"
android:layout_marginEnd="@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>