245e92a208d5045795637125c4e9deec5455a454
[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 <RadioButton
39 android:layout_width="wrap_content"
40 android:layout_height="wrap_content"
41 android:text="copy"
42 android:id="@+id/mBtnCopy"
43 android:layout_weight="1"
44 android:checked="true" />
45
46 <RadioButton
47 android:layout_width="wrap_content"
48 android:layout_height="wrap_content"
49 android:text="move"
50 android:id="@+id/mBtnMove"
51 android:layout_weight="1"
52 android:checked="false" />
53 </LinearLayout>
54
55 <LinearLayout
56 android:layout_width="match_parent"
57 android:layout_height="wrap_content"
58 android:gravity="center"
59 android:orientation="horizontal" >
60
61 <android.support.v7.widget.AppCompatButton
62 android:id="@+id/upload_files_btn_cancel"
63 style="@style/ownCloud.Button"
64 android:layout_width="wrap_content"
65 android:layout_height="wrap_content"
66 android:layout_weight="1"
67 android:text="@string/common_cancel" />
68
69 <android.support.v7.widget.AppCompatButton
70 android:id="@+id/upload_files_btn_upload"
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/uploader_btn_upload_text" />
76
77 </LinearLayout>
78
79 </LinearLayout>