Merge remote-tracking branch 'remotes/upstream/streaming' into beta
[pub/Android/ownCloud.git] / res / layout / upload_files_layout.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <!--
3 ownCloud Android client application
4
5 Copyright (C) 2015 ownCloud Inc.
6
7 This program is free software: you can redistribute it and/or modify
8 it under the terms of the GNU General Public License version 2,
9 as published by the Free Software Foundation.
10
11 This program is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
15
16 You should have received a copy of the GNU General Public License
17 along with this program. If not, see <http://www.gnu.org/licenses/>.
18 -->
19 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
20 android:id="@+id/upload_files_layout"
21 android:layout_width="fill_parent"
22 android:layout_height="fill_parent"
23 android:background="@color/background_color"
24 android:orientation="vertical" >
25
26 <fragment
27 android:id="@+id/local_files_list"
28 android:layout_width="match_parent"
29 android:layout_height="0dip"
30 android:layout_weight="1"
31 class="com.owncloud.android.ui.fragment.LocalFileListFragment" />
32
33 <LinearLayout
34 android:layout_width="match_parent"
35 android:layout_height="wrap_content"
36 android:orientation="horizontal">
37
38 <ImageView
39 android:layout_width="match_parent"
40 android:layout_height="1dp"
41 android:src="@drawable/uploader_list_separator"/>
42
43 </LinearLayout>
44
45 <LinearLayout
46 android:orientation="horizontal"
47 android:layout_width="match_parent"
48 android:layout_height="wrap_content"
49 android:paddingTop="8dp"
50 android:paddingLeft="16dp"
51 android:paddingRight="16dp">
52
53 <RadioGroup xmlns:android="http://schemas.android.com/apk/res/android"
54 android:id="@+id/drawer_radio_group"
55 android:layout_width="fill_parent"
56 android:layout_height="wrap_content"
57 android:gravity="center"
58 android:orientation="horizontal">
59
60 <RadioButton
61 android:layout_width="wrap_content"
62 android:layout_height="wrap_content"
63 android:text="@string/upload_copy_files"
64 android:id="@+id/upload_radio_copy"
65 android:paddingRight="8dp"
66 android:checked="false" />
67
68 <RadioButton
69 android:layout_width="wrap_content"
70 android:layout_height="wrap_content"
71 android:text="@string/upload_move_files"
72 android:id="@+id/upload_radio_move"
73 android:paddingRight="8dp"
74 android:checked="false" />
75 </RadioGroup>
76 </LinearLayout>
77
78 <LinearLayout
79 android:layout_width="match_parent"
80 android:layout_height="wrap_content"
81 android:gravity="center"
82 android:orientation="horizontal"
83 android:paddingLeft="16dp"
84 android:paddingRight="16dp"
85 android:paddingBottom="16dp">
86
87 <android.support.v7.widget.AppCompatButton
88 android:id="@+id/upload_files_btn_cancel"
89 android:theme="@style/Button"
90 android:layout_width="wrap_content"
91 android:layout_height="wrap_content"
92 android:layout_weight="1"
93 android:text="@string/common_cancel" />
94
95 <android.support.v7.widget.AppCompatButton
96 android:id="@+id/upload_files_btn_upload"
97 android:theme="@style/Button.Primary"
98 android:layout_width="wrap_content"
99 android:layout_height="wrap_content"
100 android:layout_weight="1"
101 android:text="@string/uploader_btn_upload_text" />
102
103 </LinearLayout>
104
105 </LinearLayout>