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 <include 56 android:id="@+id/edit_photo" 57 android:layout_marginRight="8dip" 58 android:layout_marginEnd="8dip" 59 layout="@layout/item_photo_editor" /> 60 61 </LinearLayout> 62 63 <LinearLayout 64 android:id="@+id/sect_fields" 65 android:layout_width="match_parent" 66 android:layout_height="wrap_content" 67 android:orientation="vertical" 68 android:layout_marginBottom="16dip"/> 69 70 <Button 71 android:id="@+id/button_add_field" 72 android:text="@string/add_field" 73 android:layout_width="wrap_content" 74 android:layout_height="wrap_content" 75 android:layout_gravity="center" 76 android:layout_marginBottom="32dip"/> 77 78 </LinearLayout> 79 </com.android.contacts.editor.RawContactEditorView> 80