1<?xml version="1.0" encoding="utf-8"?>
2<!--
3 ~ Copyright (C) 2018 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<!-- Sets android:importantForAccessibility="no" to avoid being announced when navigating with
19         talkback enabled. It will still be announced when user drag or drop contact onto it.
20         This is required since drag and drop event is only sent to views are visible when drag
21         starts. -->
22<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
23    android:id="@+id/favorite_remove_view"
24    android:layout_width="match_parent"
25    android:layout_height="@dimen/expanded_search_bar_height"
26    android:background="?android:attr/colorPrimary"
27    android:gravity="center"
28    android:orientation="horizontal"
29    android:visibility="invisible"
30    android:contentDescription="@string/speed_dial_remove_favorites"
31    android:importantForAccessibility="no">
32
33  <ImageView
34      android:id="@+id/remove_view_icon"
35      android:layout_width="wrap_content"
36      android:layout_height="wrap_content"
37      android:layout_marginTop="8dp"
38      android:layout_marginBottom="8dp"
39      android:src="@drawable/quantum_ic_close_vd_theme_24"
40      android:tint="?colorIconOnUnthemedDarkBackground"/>
41
42  <TextView
43      android:id="@+id/remove_view_text"
44      android:layout_width="wrap_content"
45      android:layout_height="wrap_content"
46      android:text="@string/speed_dial_remove_favorites"
47      android:textColor="?colorTextOnUnthemedDarkBackground"
48      android:textSize="16sp"/>
49</LinearLayout>