• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?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<com.android.contacts.editor.RawContactEditorView
18    xmlns:android="http://schemas.android.com/apk/res/android"
19    android:layout_width="match_parent"
20    android:layout_height="wrap_content"
21    android:orientation="vertical"
22    android:paddingTop="@dimen/editor_padding_top">
23
24    <include
25        layout="@layout/editor_account_header_with_dropdown" />
26
27    <LinearLayout
28        android:id="@+id/body"
29        android:layout_width="match_parent"
30        android:layout_height="wrap_content"
31        android:orientation="vertical">
32
33        <LinearLayout
34            android:layout_height="wrap_content"
35            android:layout_width="match_parent"
36            android:orientation="horizontal"
37            android:paddingTop="8dip">
38
39            <LinearLayout
40                android:layout_height="wrap_content"
41                android:layout_width="0dip"
42                android:layout_weight="1"
43                android:orientation="vertical">
44
45                <include
46                    android:id="@+id/edit_name"
47                    layout="@layout/structured_name_editor_view" />
48
49                <include
50                    android:id="@+id/edit_phonetic_name"
51                    layout="@layout/phonetic_name_editor_view" />
52
53            </LinearLayout>
54
55            <LinearLayout
56                android:id="@+id/stub_photo"
57                android:layout_width="wrap_content"
58                android:layout_height="wrap_content"
59                android:layout_marginRight="8dip"
60                android:orientation="horizontal">
61
62                <include
63                    android:id="@+id/edit_photo"
64                    layout="@layout/item_photo_editor" />
65
66                <ImageView
67                    android:src="@drawable/account_spinner_icon"
68                    android:layout_width="wrap_content"
69                    android:layout_height="wrap_content"
70                    android:layout_gravity="bottom" />
71
72            </LinearLayout>
73
74        </LinearLayout>
75
76        <LinearLayout
77            android:id="@+id/sect_fields"
78            android:layout_width="match_parent"
79            android:layout_height="wrap_content"
80            android:orientation="vertical"/>
81
82        <Button
83            android:id="@+id/button_add_field"
84            android:text="@string/add_field"
85            android:layout_width="wrap_content"
86            android:layout_height="wrap_content"
87            android:layout_gravity="center"
88            android:layout_marginTop="16dip"
89            android:layout_marginBottom="32dip"/>
90
91    </LinearLayout>
92</com.android.contacts.editor.RawContactEditorView>
93