Merge branch 'master' of https://github.com/owncloud/android into target_marshmallow
[pub/Android/ownCloud.git] / res / layout / log_send_file.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:layout_width="match_parent"
21 android:layout_height="match_parent"
22 android:orientation="vertical"
23 android:weightSum="1" >
24
25 <ScrollView
26 android:id="@+id/scrollView1"
27 android:layout_width="match_parent"
28 android:layout_height="0dp"
29 android:layout_marginBottom="@dimen/standard_margin"
30 android:layout_weight="1">
31
32 <LinearLayout
33 android:layout_width="match_parent"
34 android:layout_height="wrap_content"
35 android:orientation="vertical"
36 android:paddingLeft="@dimen/standard_padding"
37 android:paddingRight="@dimen/standard_padding">
38
39 <TextView
40 android:id="@+id/logTV"
41 android:layout_width="match_parent"
42 android:layout_height="match_parent"
43 android:text="@string/empty"
44 android:typeface="monospace"/>
45 </LinearLayout>
46 </ScrollView>
47
48 <LinearLayout
49 android:id="@+id/historyButtonBar"
50 android:layout_width="fill_parent"
51 android:layout_height="wrap_content"
52 android:orientation="horizontal"
53 android:layout_marginBottom="@dimen/standard_margin"
54 android:layout_marginLeft="@dimen/standard_margin"
55 android:layout_marginRight="@dimen/standard_margin">
56
57 <Button
58 android:id="@+id/deleteLogHistoryButton"
59 android:theme="@style/Button"
60 android:layout_width="fill_parent"
61 android:layout_height="wrap_content"
62 android:layout_gravity="bottom"
63 android:layout_weight="1"
64 android:text="@string/prefs_log_delete_history_button" />
65
66 <android.support.v7.widget.AppCompatButton
67 android:id="@+id/sendLogHistoryButton"
68 android:theme="@style/Button.Primary"
69 android:layout_width="fill_parent"
70 android:layout_height="wrap_content"
71 android:layout_gravity="bottom"
72 android:layout_weight="1"
73 android:text="@string/log_send_history_button" />
74
75 </LinearLayout>
76
77 </LinearLayout>