Merge remote-tracking branch 'remotes/upstream/master' into avoidDuplicateFiles
[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:orientation="horizontal"
35 android:layout_width="match_parent"
36 android:layout_height="wrap_content">
37
38 <RadioGroup xmlns:android="http://schemas.android.com/apk/res/android"
39 android:id="@+id/drawer_radio_group"
40 android:layout_width="fill_parent"
41 android:layout_height="wrap_content"
42 android:layout_gravity="center_horizontal"
43 android:orientation="horizontal">
44
45 <RadioButton
46 android:layout_width="wrap_content"
47 android:layout_height="wrap_content"
48 android:text="@string/upload_copy_files"
49 android:id="@+id/upload_radio_copy"
50 android:layout_weight="1"
51 android:checked="false" />
52
53 <RadioButton
54 android:layout_width="wrap_content"
55 android:layout_height="wrap_content"
56 android:text="@string/upload_move_files"
57 android:id="@+id/upload_radio_move"
58 android:layout_weight="1"
59 android:checked="false" />
60 </RadioGroup>
61 </LinearLayout>
62
63 <LinearLayout
64 android:layout_width="match_parent"
65 android:layout_height="wrap_content"
66 android:gravity="center"
67 android:orientation="horizontal" >
68
69 <android.support.v7.widget.AppCompatButton
70 android:id="@+id/upload_files_btn_cancel"
71 style="@style/ownCloud.Button"
72 android:layout_width="wrap_content"
73 android:layout_height="wrap_content"
74 android:layout_weight="1"
75 android:text="@string/common_cancel" />
76
77 <android.support.v7.widget.AppCompatButton
78 android:id="@+id/upload_files_btn_upload"
79 style="@style/ownCloud.Button"
80 android:layout_width="wrap_content"
81 android:layout_height="wrap_content"
82 android:layout_weight="1"
83 android:text="@string/uploader_btn_upload_text" />
84
85 </LinearLayout>
86
87 </LinearLayout>