blob: 830f4d8afc4a0c580982cf0cdba6a069458e82b2 [file] [log] [blame]
Chiao Chengddd4e822012-12-06 12:18:01 -08001<?xml version="1.0" encoding="utf-8"?>
2<!--
3 Copyright (C) 2011 The Android Open Source Project
4
5 Licensed under the Apache License, Version 2.0 (the "License");
6 you may not use this file except in compliance with the License.
7 You may obtain a copy of the License at
8
9 http://www.apache.org/licenses/LICENSE-2.0
10
11 Unless required by applicable law or agreed to in writing, software
12 distributed under the License is distributed on an "AS IS" BASIS,
13 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 See the License for the specific language governing permissions and
15 limitations under the License.
16 -->
17
18<com.android.contacts.editor.StructuredNameEditorView
19 xmlns:android="http://schemas.android.com/apk/res/android"
20 android:layout_width="match_parent"
21 android:layout_height="wrap_content"
Walter Jang1ee24ed2015-09-25 17:49:14 -070022 android:minHeight="@dimen/editor_min_line_item_height"
23 android:orientation="horizontal">
Chiao Chengddd4e822012-12-06 12:18:01 -080024
Walter Jang1ee24ed2015-09-25 17:49:14 -070025 <!-- This isn't used in StructuredNameEditorView. It is only included so that
26 StructuredNameEditorView's base classes don't need extra null checks. -->
27 <include
28 android:id="@+id/spinner"
29 layout="@layout/edit_spinner"
30 android:visibility="gone"/>
Chiao Chengddd4e822012-12-06 12:18:01 -080031
Walter Jang1ee24ed2015-09-25 17:49:14 -070032 <ImageView
33 android:id="@+id/kind_icon"
34 android:src="@drawable/ic_person_black_24dp"
35 android:contentDescription="@string/header_name_entry"
36 style="@style/EditKindIconStyle"/>
Chiao Chengddd4e822012-12-06 12:18:01 -080037
Walter Jang1ee24ed2015-09-25 17:49:14 -070038 <include
39 layout="@layout/edit_field_list_with_anchor_view"/>
Chiao Chengddd4e822012-12-06 12:18:01 -080040
Walter Jang1ee24ed2015-09-25 17:49:14 -070041 <include
42 android:id="@+id/expansion_view_container"
43 layout="@layout/name_edit_expansion_view"
44 android:visibility="gone"/>
Chiao Chengddd4e822012-12-06 12:18:01 -080045
Walter Jang1ee24ed2015-09-25 17:49:14 -070046 <!-- This isn't used in StructuredNameEditorView. It is only included so that
47 StructuredNameEditorView's base classes don't need extra null checks. -->
48 <include
49 android:id="@+id/delete_button_container"
50 layout="@layout/edit_delete_button"
51 android:visibility="gone"/>
Chiao Chengddd4e822012-12-06 12:18:01 -080052
53</com.android.contacts.editor.StructuredNameEditorView>