blob: d352801f682ca0f0331202a2f82b58189472ee7c [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<!-- "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 Attwell043fba62014-10-30 11:11:56 -070024 android:layout_gravity="center_vertical">
Chiao Chengddd4e822012-12-06 12:18:01 -080025 <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 Mai3e9637f2016-09-06 18:22:55 -070032 android:src="@drawable/ic_close_24dp"
33 android:tint="@color/quantum_black_hint_text"
Chiao Chengddd4e822012-12-06 12:18:01 -080034 android:paddingLeft="@dimen/editor_round_button_padding_left"
35 android:paddingRight="@dimen/editor_round_button_padding_right"
Fabrice Di Meglio7d3b9152013-04-04 19:49:34 -070036 android:paddingStart="@dimen/editor_round_button_padding_left"
37 android:paddingEnd="@dimen/editor_round_button_padding_right"
Chiao Chengddd4e822012-12-06 12:18:01 -080038 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>