blob: a3a1849e600d22a6736eabcdedb8cc172139b8a1 [file] [log] [blame]
The Android Open Source Project5dc3b4f2008-10-21 07:00:00 -07001<?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<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
18 android:layout_width="fill_parent"
19 android:layout_height="fill_parent"
20 android:orientation="vertical"
The Android Open Source Project5dc3b4f2008-10-21 07:00:00 -070021 android:fillViewport="true">
22
23 <LinearLayout
24 android:layout_width="fill_parent"
25 android:layout_height="fill_parent"
26 android:orientation="vertical"
27 >
28
29 <LinearLayout android:id="@+id/banner"
30 android:layout_width="fill_parent"
The Android Open Source Project42e29b72009-02-10 15:44:04 -080031 android:layout_height="wrap_content"
The Android Open Source Project5dc3b4f2008-10-21 07:00:00 -070032 android:orientation="horizontal"
The Android Open Source Project5dc3b4f2008-10-21 07:00:00 -070033 android:padding="0dip"
34 android:gravity="center_vertical"
35 android:baselineAligned="false"
36 >
37
38 <FrameLayout
The Android Open Source Project3b024222009-02-13 12:57:53 -080039 android:layout_width="76dip"
40 android:layout_height="76dip"
The Android Open Source Project42e29b72009-02-10 15:44:04 -080041 android:layout_marginTop="4dip"
The Android Open Source Project3b024222009-02-13 12:57:53 -080042 android:layout_marginLeft="6dip"
43 android:layout_marginBottom="6dip"
The Android Open Source Project42e29b72009-02-10 15:44:04 -080044 android:layout_marginRight="2dip"
The Android Open Source Project5dc3b4f2008-10-21 07:00:00 -070045 >
The Android Open Source Project5dc3b4f2008-10-21 07:00:00 -070046 <ImageView android:id="@+id/photoImage"
The Android Open Source Project5dc3b4f2008-10-21 07:00:00 -070047 android:layout_width="fill_parent"
48 android:layout_height="fill_parent"
49 android:clickable="true"
50 android:focusable="true"
The Android Open Source Project42e29b72009-02-10 15:44:04 -080051 android:src="@drawable/ic_menu_add_picture"
52 android:scaleType="center"
The Android Open Source Project3b024222009-02-13 12:57:53 -080053 android:background="@drawable/btn_contact_picture"
The Android Open Source Project5dc3b4f2008-10-21 07:00:00 -070054 />
55 </FrameLayout>
56
57 <EditText android:id="@+id/name"
58 android:layout_width="0dip"
59 android:layout_weight="1"
60 android:layout_height="wrap_content"
The Android Open Source Project3b024222009-02-13 12:57:53 -080061 android:layout_marginRight="?android:attr/scrollbarSize"
The Android Open Source Project5dc3b4f2008-10-21 07:00:00 -070062 android:gravity="center_vertical"
The Android Open Source Projectd9351702008-12-17 18:05:55 -080063 android:inputType="textPersonName|textCapWords"
The Android Open Source Project5dc3b4f2008-10-21 07:00:00 -070064 android:hint="@string/ghostData_name"
65 android:nextFocusDown="@id/data"
66 />
67
68 <ImageView android:id="@+id/star"
69 android:layout_width="wrap_content"
70 android:layout_height="wrap_content"
71 />
72 </LinearLayout>
73
The Android Open Source Project42b987b2009-01-22 00:13:44 -080074 <!-- "Phonetic name" entry widget, visible only in certain locales -->
75 <include layout="@layout/edit_phonetic_name"/>
The Android Open Source Project9cb63a52009-01-09 17:51:25 -080076
The Android Open Source Project5dc3b4f2008-10-21 07:00:00 -070077 <LinearLayout
78 android:layout_width="fill_parent"
79 android:layout_height="0dip"
80 android:layout_weight="1"
81 android:orientation="vertical"
The Android Open Source Project3b024222009-02-13 12:57:53 -080082 >
The Android Open Source Project5dc3b4f2008-10-21 07:00:00 -070083
84 <!-- The edit items -->
85 <LinearLayout android:id="@+id/list"
86 android:layout_width="fill_parent"
87 android:layout_height="wrap_content"
88 android:orientation="vertical"
89 />
90
The Android Open Source Project5dc3b4f2008-10-21 07:00:00 -070091 </LinearLayout>
92
The Android Open Source Project42e29b72009-02-10 15:44:04 -080093 <LinearLayout
The Android Open Source Project5dc3b4f2008-10-21 07:00:00 -070094 android:layout_width="fill_parent"
The Android Open Source Project42e29b72009-02-10 15:44:04 -080095 android:layout_height="wrap_content"
The Android Open Source Project3b024222009-02-13 12:57:53 -080096 android:orientation="horizontal"
97 style="@android:style/ButtonBar"
The Android Open Source Project5dc3b4f2008-10-21 07:00:00 -070098 >
The Android Open Source Project42e29b72009-02-10 15:44:04 -080099
The Android Open Source Project5dc3b4f2008-10-21 07:00:00 -0700100 <Button android:id="@+id/saveButton"
The Android Open Source Project42e29b72009-02-10 15:44:04 -0800101 android:layout_width="0dip"
The Android Open Source Project3b024222009-02-13 12:57:53 -0800102 android:layout_height="wrap_content"
The Android Open Source Project42e29b72009-02-10 15:44:04 -0800103 android:layout_weight="1"
104 android:text="@string/menu_done"
The Android Open Source Project5dc3b4f2008-10-21 07:00:00 -0700105 />
106
107 <Button android:id="@+id/discardButton"
The Android Open Source Project42e29b72009-02-10 15:44:04 -0800108 android:layout_width="0dip"
The Android Open Source Project3b024222009-02-13 12:57:53 -0800109 android:layout_height="wrap_content"
The Android Open Source Project42e29b72009-02-10 15:44:04 -0800110 android:layout_weight="1"
111 android:text="@string/menu_doNotSave"
The Android Open Source Project5dc3b4f2008-10-21 07:00:00 -0700112 />
The Android Open Source Project42e29b72009-02-10 15:44:04 -0800113
114 </LinearLayout>
115
The Android Open Source Project5dc3b4f2008-10-21 07:00:00 -0700116 </LinearLayout>
117</ScrollView>