Temporal layout for rename
[pub/Android/ownCloud.git] / res / layout / edit_box_dialog.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <!--
3 ownCloud Android client application
4
5 Copyright (C) 2012 Bartek Przybylski
6 This program is free software: you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation, either version 3 of the License, or
9 (at your option) any later version.
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="wrap_content"
21 android:layout_height="fill_parent"
22 android:gravity="center|fill"
23 android:orientation="vertical" >
24
25 <LinearLayout
26 android:id="@+id/LinearLayout1"
27 android:layout_width="match_parent"
28 android:layout_height="wrap_content"
29 android:layout_gravity="center_vertical"
30 android:layout_weight="1"
31 android:orientation="vertical" >
32
33 <TextView
34 android:id="@+id/user_input"
35 android:layout_width="wrap_content"
36 android:layout_height="wrap_content"
37 android:layout_weight="1"
38 android:text="new_name" />
39
40 </LinearLayout>
41
42 <RelativeLayout
43 android:layout_width="match_parent"
44 android:layout_height="wrap_content"
45 android:layout_alignParentBottom="true" >
46
47 <LinearLayout
48 android:layout_width="match_parent"
49 android:layout_height="wrap_content"
50 android:weightSum="1" >
51
52 <Button
53 android:id="@+id/cancel"
54 android:layout_width="match_parent"
55 android:layout_height="wrap_content"
56 android:layout_weight=".5"
57 android:text="@string/common_cancel" />
58
59 <Button
60 android:id="@+id/ok"
61 android:layout_width="match_parent"
62 android:layout_height="wrap_content"
63 android:layout_weight=".5"
64 android:text="@string/common_ok"
65 android:textColor="@android:color/black" />
66
67 </LinearLayout>
68 </RelativeLayout>
69
70 </LinearLayout>