Merge pull request #1048 from owncloud/shareWithYou_icon_in_fileList
[pub/Android/ownCloud.git] / res / layout / generic_explanation.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:background="@color/background_color"
23 android:id="@+id/explanation"
24 android:orientation="vertical">
25
26 <TextView
27 android:id="@+id/message"
28 android:layout_width="match_parent"
29 android:layout_height="0dp"
30 android:layout_weight="2"
31 android:padding="10dip"
32 android:scrollbarAlwaysDrawVerticalTrack="true"
33 android:text="@string/placeholder_sentence"
34 />
35
36 <ListView
37 android:id="@+id/list"
38 android:layout_width="match_parent"
39 android:layout_height="0dp"
40 android:layout_weight="3"
41 android:padding="10dip"
42 />
43
44 <LinearLayout
45 android:id="@+id/buttons"
46 android:layout_width="match_parent"
47 android:layout_height="wrap_content"
48 android:gravity="center"
49 android:orientation="horizontal" >
50
51 <Button
52 android:id="@+id/ok"
53 android:layout_width="wrap_content"
54 android:layout_height="wrap_content"
55 android:layout_weight="1"
56 android:text="@string/common_ok" />
57
58 <Button
59 android:id="@+id/cancel"
60 android:layout_width="wrap_content"
61 android:layout_height="wrap_content"
62 android:layout_weight="1"
63 android:text="@string/common_cancel" />
64
65 </LinearLayout>
66
67 </LinearLayout>