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:id="@+id/body" 20 android:layout_width="match_parent" 21 android:layout_height="wrap_content" 22 android:orientation="vertical" > 23 24 <!-- There are two mutually exclusive account headers that look significantly different. 25 The editor_account_selector is used when an account needs to be chosen. --> 26 <include 27 layout="@layout/editor_account_header_expandable" /> 28 <include 29 layout="@layout/editor_account_selector" /> 30 31 <LinearLayout 32 android:id="@+id/collapsable_section" 33 android:layout_width="match_parent" 34 android:layout_height="wrap_content" 35 android:orientation="vertical" > 36 37 <include 38 android:id="@+id/edit_name" 39 layout="@layout/structured_name_editor_view" /> 40 41 <include 42 android:id="@+id/edit_phonetic_name" 43 layout="@layout/phonetic_name_editor_view" /> 44 45 <include 46 android:id="@+id/edit_nick_name" 47 layout="@layout/nick_name_editor_view" /> 48 49 <include 50 android:id="@+id/edit_photo" 51 android:layout_marginRight="8dip" 52 android:layout_marginEnd="8dip" 53 layout="@layout/item_photo_editor" /> 54 55 <LinearLayout 56 android:id="@+id/sect_fields" 57 android:layout_width="match_parent" 58 android:layout_height="wrap_content" 59 android:orientation="vertical" 60 android:layout_marginBottom="16dip"/> 61 62 </LinearLayout> 63 64 <View 65 android:layout_width="match_parent" 66 android:layout_height="@dimen/divider_line_height" 67 android:background="@color/divider_line_color_light" /> 68 69 </com.android.contacts.editor.RawContactEditorView> 70