56700e8719cd0c21c07fa88ce6fbfe395fd04a5b
[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 android:paddingLeft="16dp">
45
46 <RadioButton
47 android:layout_width="wrap_content"
48 android:layout_height="wrap_content"
49 android:text="@string/upload_copy_files"
50 android:id="@+id/upload_radio_copy"
51 android:layout_weight="1"
52 android:checked="false" />
53
54 <RadioButton
55 android:layout_width="wrap_content"
56 android:layout_height="wrap_content"
57 android:text="@string/upload_move_files"
58 android:id="@+id/upload_radio_move"
59 android:layout_weight="1"
60 android:checked="false" />
61 </RadioGroup>
62 </LinearLayout>
63
64 <LinearLayout
65 android:layout_width="match_parent"
66 android:layout_height="wrap_content"
67 android:gravity="center"
68 android:orientation="horizontal" >
69
70 <android.support.v7.widget.AppCompatButton
71 android:id="@+id/upload_files_btn_cancel"
72 style="@style/ownCloud.Button"
73 android:layout_width="wrap_content"
74 android:layout_height="wrap_content"
75 android:layout_weight="1"
76 android:text="@string/common_cancel" />
77
78 <android.support.v7.widget.AppCompatButton
79 android:id="@+id/upload_files_btn_upload"
80 style="@style/ownCloud.Button"
81 android:layout_width="wrap_content"
82 android:layout_height="wrap_content"
83 android:layout_weight="1"
84 android:text="@string/uploader_btn_upload_text" />
85
86 </LinearLayout>
87
88 </LinearLayout>