blob: f15caf2936c027d5275d30fbf70e4818301d2921 [file] [log] [blame]
The Android Open Source Project0c908882009-03-03 19:32:16 -08001<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2007 The Android Open Source Project
3
4 Licensed under the Apache License, Version 2.0 (the "License");
5 you may not use this file except in compliance with the License.
6 You may obtain a copy of the License at
7
8 http://www.apache.org/licenses/LICENSE-2.0
9
10 Unless required by applicable law or agreed to in writing, software
11 distributed under the License is distributed on an "AS IS" BASIS,
12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 See the License for the specific language governing permissions and
14 limitations under the License.
15-->
16
17<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
Romain Guy15b8ec62010-01-08 15:06:43 -080018 android:layout_width="match_parent"
The Android Open Source Project0c908882009-03-03 19:32:16 -080019 android:layout_height="wrap_content"
20 android:orientation="vertical"
21 >
22
Ben Murdocha753d002009-10-01 11:36:19 +010023 <ImageView android:id="@+id/titleDivider"
Romain Guy15b8ec62010-01-08 15:06:43 -080024 android:layout_width="match_parent"
Ben Murdocha753d002009-10-01 11:36:19 +010025 android:layout_height="1dip"
26 android:scaleType="fitXY"
27 android:gravity="fill_horizontal"
28 android:src="@drawable/dialog_divider_horizontal_light"
29 android:layout_marginLeft="10dip"
30 android:layout_marginRight="10dip"/>
31
The Android Open Source Project0c908882009-03-03 19:32:16 -080032 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
Romain Guy15b8ec62010-01-08 15:06:43 -080033 android:layout_width="match_parent"
The Android Open Source Project0c908882009-03-03 19:32:16 -080034 android:layout_height="wrap_content"
35 android:layout_weight="1"
36 android:orientation="vertical"
37 android:paddingTop="5dip"
38 android:paddingBottom="13dip"
39 android:paddingLeft="20dip"
40 android:paddingRight="20dip" >
41
42 <TextView
43 android:id="@+id/titleText"
44 android:layout_height="wrap_content"
45 android:layout_width="wrap_content"
46 android:text="@string/name"
47 android:gravity="left"
48 android:textAppearance="?android:attr/textAppearanceMedium" />
49
50 <EditText
51 android:id="@+id/title"
52 android:layout_height="wrap_content"
53 android:layout_width="250dip"
54 android:gravity="fill_horizontal"
55 android:inputType="textCapSentences"
56 android:selectAllOnFocus="true"
57 android:textAppearance="?android:attr/textAppearanceMedium" />
58
59
60
61 <TextView
62 android:id="@+id/addressText"
63 android:layout_height="wrap_content"
64 android:layout_width="wrap_content"
65 android:text="@string/location"
66 android:gravity="left"
67 android:textAppearance="?android:attr/textAppearanceMedium" />
68
69 <EditText
70 android:id="@+id/address"
71 android:layout_height="wrap_content"
72 android:layout_width="250dip"
73 android:hint="@string/http"
74 android:gravity="fill_horizontal"
75 android:inputType="textUri"
76 android:selectAllOnFocus="true"
77 android:textAppearance="?android:attr/textAppearanceMedium" />
78 </LinearLayout>
79
80 <LinearLayout
Romain Guy15b8ec62010-01-08 15:06:43 -080081 android:layout_width="match_parent"
The Android Open Source Project0c908882009-03-03 19:32:16 -080082 android:layout_height="wrap_content"
The Android Open Source Project0c908882009-03-03 19:32:16 -080083 android:minHeight="54dip"
84 android:orientation="horizontal"
85 android:paddingTop="4dip"
86 android:paddingLeft="2dip"
87 android:paddingRight="2dip" >
88 <Button android:id="@+id/OK"
89 android:text="@string/save"
90 android:layout_width="0dip"
91 android:layout_gravity="left"
92 android:layout_weight="1"
93 android:maxLines="2"
94 android:layout_height="wrap_content" />
95 <Button android:id="@+id/cancel"
96 android:text="@string/do_not_save"
97 android:layout_width="0dip"
98 android:layout_gravity="right"
99 android:layout_weight="1"
100 android:maxLines="2"
101 android:layout_height="wrap_content" />
102 </LinearLayout>
103
104</LinearLayout>
105