guanxiongliu | 8d29af0 | 2016-03-17 09:50:54 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- Copyright (C) 2016 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.GroupMembershipView |
| 18 | xmlns:android="http://schemas.android.com/apk/res/android" |
| 19 | android:id="@+id/group_membership_view" |
| 20 | android:layout_width="match_parent" |
| 21 | android:layout_height="wrap_content" |
| 22 | android:orientation="horizontal"> |
| 23 | |
| 24 | <ImageView |
| 25 | android:id="@+id/kind_icon" |
John Shao | bd9ef3c | 2016-12-15 12:42:03 -0800 | [diff] [blame] | 26 | android:src="@drawable/quantum_ic_label_vd_theme_24" |
guanxiongliu | 8d29af0 | 2016-03-17 09:50:54 -0700 | [diff] [blame] | 27 | style="@style/EditKindIconStyle" /> |
| 28 | |
| 29 | <Button |
| 30 | style="@style/SpinnerButtonStyle" |
| 31 | android:id="@+id/group_list" |
| 32 | android:layout_width="match_parent" |
| 33 | android:layout_height="wrap_content" |
| 34 | android:minHeight="@dimen/editor_min_line_item_height" |
| 35 | android:textSize="@dimen/editor_form_text_size" |
| 36 | android:textAlignment="viewStart" |
| 37 | android:singleLine="true" |
| 38 | android:ellipsize="end" |
| 39 | android:focusable="true" |
| 40 | android:layout_marginEnd="@dimen/editor_delete_button_size" |
| 41 | android:layout_marginBottom="@dimen/editor_padding_between_editor_views" |
| 42 | android:paddingEnd="@dimen/editor_spinner_right_padding"/> |
| 43 | |
| 44 | </com.android.contacts.editor.GroupMembershipView> |