summaryrefslogtreecommitdiff
path: root/res
diff options
context:
space:
mode:
authorQi Wang <wangqi@google.com>2016-05-16 19:14:38 +0000
committerandroid-build-merger <android-build-merger@google.com>2016-05-16 19:14:38 +0000
commit7f489a0cc2ec42e831747d48d4e5a02f5cf5fc7c (patch)
tree80d4a2b6837f2dff4530da235e9fbe63e3c9e0a8 /res
parent266551c77509d3292c791d84358b83afc640ee2b (diff)
parent775071cc0d03aa35cc5e34f504a052bf31b0627f (diff)
Fix the bug that quick contact cannot be removed. am: 0065720a97 am: 7976e7a03b
am: 775071cc0d * commit '775071cc0d03aa35cc5e34f504a052bf31b0627f': Fix the bug that quick contact cannot be removed. Change-Id: I20891ddc85bbcabaf1ef64628578ad38cc2d0351
Diffstat (limited to 'res')
-rw-r--r--res/layout/lists_fragment.xml10
1 files changed, 7 insertions, 3 deletions
diff --git a/res/layout/lists_fragment.xml b/res/layout/lists_fragment.xml
index bff729c14..a073151e2 100644
--- a/res/layout/lists_fragment.xml
+++ b/res/layout/lists_fragment.xml
@@ -53,14 +53,17 @@
</LinearLayout>
+ <!-- Sets android:importantForAccessibility="no" to avoid being announced when navigating with
+ talkback enabled. It will still be announced when user drag or drop contact onto it.
+ This is required since drag and drop event is only sent to views are visible when drag
+ starts. -->
<com.android.dialer.list.RemoveView
android:id="@+id/remove_view"
android:layout_width="match_parent"
android:layout_height="@dimen/tab_height"
android:layout_marginTop="@dimen/action_bar_height_large"
- android:layout_alignParentTop="true"
android:contentDescription="@string/remove_contact"
- android:visibility="gone" >
+ android:importantForAccessibility="no" >
<LinearLayout
android:id="@+id/remove_view_content"
@@ -68,7 +71,8 @@
android:layout_width="match_parent"
android:background="@color/actionbar_background_color"
android:gravity="center"
- android:orientation="horizontal">
+ android:orientation="horizontal"
+ android:visibility="gone">
<ImageView
android:layout_width="wrap_content"