From 3dd981af8905339d7b8421e3a633853868240d4d Mon Sep 17 00:00:00 2001 From: Qi Wang Date: Fri, 4 Mar 2016 13:50:40 -0800 Subject: Add talkback for long press and remove contact from starred list. The remove button will be announced when user hovers contact onto it or drop it. Bug: 25559343 Change-Id: I31f51f6d074d8b1721439e7a484e1e316cb006fe --- res/layout/lists_fragment.xml | 8 ++++---- src/com/android/dialer/list/ListsFragment.java | 4 +--- src/com/android/dialer/list/RemoveView.java | 5 +++++ 3 files changed, 10 insertions(+), 7 deletions(-) diff --git a/res/layout/lists_fragment.xml b/res/layout/lists_fragment.xml index 1942a96eb..bff729c14 100644 --- a/res/layout/lists_fragment.xml +++ b/res/layout/lists_fragment.xml @@ -58,7 +58,9 @@ android:layout_width="match_parent" android:layout_height="@dimen/tab_height" android:layout_marginTop="@dimen/action_bar_height_large" - android:layout_alignParentTop="true" > + android:layout_alignParentTop="true" + android:contentDescription="@string/remove_contact" + android:visibility="gone" > + android:orientation="horizontal">