summaryrefslogtreecommitdiff
path: root/res
diff options
context:
space:
mode:
authorQi Wang <wangqi@google.com>2016-03-04 13:50:40 -0800
committerQi Wang <wangqi@google.com>2016-03-11 10:54:25 -0800
commit3dd981af8905339d7b8421e3a633853868240d4d (patch)
treed8807108b7aed64d82dacc1d641557cd7286b38c /res
parent1b686edac2b53551d114c45518054b7cbd073750 (diff)
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
Diffstat (limited to 'res')
-rw-r--r--res/layout/lists_fragment.xml8
1 files changed, 4 insertions, 4 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" >
<LinearLayout
android:id="@+id/remove_view_content"
@@ -66,8 +68,7 @@
android:layout_width="match_parent"
android:background="@color/actionbar_background_color"
android:gravity="center"
- android:orientation="horizontal"
- android:visibility="gone" >
+ android:orientation="horizontal">
<ImageView
android:layout_width="wrap_content"
@@ -76,7 +77,6 @@
android:layout_marginBottom="8dp"
android:id="@+id/remove_view_icon"
android:src="@drawable/ic_remove"
- android:contentDescription="@string/remove_contact"
android:tint="@color/remove_text_color" />
<TextView