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 | <!-- "Delete field" button in the contact editor. --> |
| 19 | |
| 20 | <FrameLayout |
| 21 | xmlns:android="http://schemas.android.com/apk/res/android" |
| 22 | android:layout_width="wrap_content" |
| 23 | android:layout_height="@dimen/editor_min_line_item_height" |
Brian Attwell | 043fba6 | 2014-10-30 11:11:56 -0700 | [diff] [blame] | 24 | android:layout_gravity="center_vertical"> |
Chiao Cheng | ddd4e82 | 2012-12-06 12:18:01 -0800 | [diff] [blame] | 25 | <ImageView |
| 26 | android:id="@+id/delete_button" |
| 27 | android:layout_width="wrap_content" |
| 28 | android:layout_height="wrap_content" |
| 29 | android:layout_gravity="center" |
| 30 | android:duplicateParentState="true" |
| 31 | android:background="?android:attr/selectableItemBackground" |
Gary Mai | 3e9637f | 2016-09-06 18:22:55 -0700 | [diff] [blame] | 32 | android:src="@drawable/ic_close_24dp" |
| 33 | android:tint="@color/quantum_black_hint_text" |
Chiao Cheng | ddd4e82 | 2012-12-06 12:18:01 -0800 | [diff] [blame] | 34 | android:paddingLeft="@dimen/editor_round_button_padding_left" |
| 35 | android:paddingRight="@dimen/editor_round_button_padding_right" |
Fabrice Di Meglio | 7d3b915 | 2013-04-04 19:49:34 -0700 | [diff] [blame] | 36 | android:paddingStart="@dimen/editor_round_button_padding_left" |
| 37 | android:paddingEnd="@dimen/editor_round_button_padding_right" |
Chiao Cheng | ddd4e82 | 2012-12-06 12:18:01 -0800 | [diff] [blame] | 38 | android:paddingTop="@dimen/editor_round_button_padding_top" |
| 39 | android:paddingBottom="@dimen/editor_round_button_padding_bottom" |
| 40 | android:contentDescription="@string/description_minus_button" /> |
| 41 | </FrameLayout> |