blob: ca84f30b452722fcd0b76f3a27f30bab7f246757 [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"
18 android:layout_width="fill_parent"
19 android:layout_height="wrap_content"
20 android:orientation="vertical"
21 >
22
23 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
24 android:layout_width="fill_parent"
25 android:layout_height="wrap_content"
26 android:layout_weight="1"
27 android:orientation="vertical"
28 android:paddingTop="5dip"
29 android:paddingBottom="13dip"
30 android:paddingLeft="20dip"
31 android:paddingRight="20dip" >
32
33 <TextView
34 android:id="@+id/titleText"
35 android:layout_height="wrap_content"
36 android:layout_width="wrap_content"
37 android:text="@string/name"
38 android:gravity="left"
39 android:textAppearance="?android:attr/textAppearanceMedium" />
40
41 <EditText
42 android:id="@+id/title"
43 android:layout_height="wrap_content"
44 android:layout_width="250dip"
45 android:gravity="fill_horizontal"
46 android:inputType="textCapSentences"
47 android:selectAllOnFocus="true"
48 android:textAppearance="?android:attr/textAppearanceMedium" />
49
50
51
52 <TextView
53 android:id="@+id/addressText"
54 android:layout_height="wrap_content"
55 android:layout_width="wrap_content"
56 android:text="@string/location"
57 android:gravity="left"
58 android:textAppearance="?android:attr/textAppearanceMedium" />
59
60 <EditText
61 android:id="@+id/address"
62 android:layout_height="wrap_content"
63 android:layout_width="250dip"
64 android:hint="@string/http"
65 android:gravity="fill_horizontal"
66 android:inputType="textUri"
67 android:selectAllOnFocus="true"
68 android:textAppearance="?android:attr/textAppearanceMedium" />
69 </LinearLayout>
70
71 <LinearLayout
72 android:layout_width="fill_parent"
73 android:layout_height="wrap_content"
74 android:background="#c6c3c6"
75 android:minHeight="54dip"
76 android:orientation="horizontal"
77 android:paddingTop="4dip"
78 android:paddingLeft="2dip"
79 android:paddingRight="2dip" >
80 <Button android:id="@+id/OK"
81 android:text="@string/save"
82 android:layout_width="0dip"
83 android:layout_gravity="left"
84 android:layout_weight="1"
85 android:maxLines="2"
86 android:layout_height="wrap_content" />
87 <Button android:id="@+id/cancel"
88 android:text="@string/do_not_save"
89 android:layout_width="0dip"
90 android:layout_gravity="right"
91 android:layout_weight="1"
92 android:maxLines="2"
93 android:layout_height="wrap_content" />
94 </LinearLayout>
95
96</LinearLayout>
97