Chiao Cheng | ddd4e82 | 2012-12-06 12:18:01 -0800 | [diff] [blame] | 1 | <?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 Jang | 1ee24ed | 2015-09-25 17:49:14 -0700 | [diff] [blame] | 22 | android:minHeight="@dimen/editor_min_line_item_height" |
| 23 | android:orientation="horizontal"> |
Chiao Cheng | ddd4e82 | 2012-12-06 12:18:01 -0800 | [diff] [blame] | 24 | |
Walter Jang | 1ee24ed | 2015-09-25 17:49:14 -0700 | [diff] [blame] | 25 | <!-- 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 Cheng | ddd4e82 | 2012-12-06 12:18:01 -0800 | [diff] [blame] | 31 | |
Walter Jang | 1ee24ed | 2015-09-25 17:49:14 -0700 | [diff] [blame] | 32 | <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 Cheng | ddd4e82 | 2012-12-06 12:18:01 -0800 | [diff] [blame] | 37 | |
Walter Jang | 1ee24ed | 2015-09-25 17:49:14 -0700 | [diff] [blame] | 38 | <include |
| 39 | layout="@layout/edit_field_list_with_anchor_view"/> |
Chiao Cheng | ddd4e82 | 2012-12-06 12:18:01 -0800 | [diff] [blame] | 40 | |
Walter Jang | 1ee24ed | 2015-09-25 17:49:14 -0700 | [diff] [blame] | 41 | <include |
| 42 | android:id="@+id/expansion_view_container" |
| 43 | layout="@layout/name_edit_expansion_view" |
| 44 | android:visibility="gone"/> |
Chiao Cheng | ddd4e82 | 2012-12-06 12:18:01 -0800 | [diff] [blame] | 45 | |
Walter Jang | 1ee24ed | 2015-09-25 17:49:14 -0700 | [diff] [blame] | 46 | <!-- 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 Cheng | ddd4e82 | 2012-12-06 12:18:01 -0800 | [diff] [blame] | 52 | |
| 53 | </com.android.contacts.editor.StructuredNameEditorView> |