summaryrefslogtreecommitdiff
path: root/res
diff options
context:
space:
mode:
author Diksha Gohlyan <dikshag@google.com> 2020-12-04 16:36:55 -0800
committer Diksha Gohlyan <dikshag@google.com> 2020-12-04 16:37:23 -0800
commit5d0fc18ebd1a1121f1644de3d390b29661f0a150 (patch)
tree26157edc952b98d8a1e7dc41d1400b728e8fabbc /res
parent3a79b56c29fece67736fa300c76e5c54326e814f (diff)
Make disabled overlay on copy as not important for accessibility
Fixes: 174325936 Test: atest DocumentsUIGoogleTests Change-Id: I186e46de0bddeedaf66b8fa0ee6b0000b23bbd58
Diffstat (limited to 'res')
-rw-r--r--res/layout/fragment_pick.xml10
1 files changed, 5 insertions, 5 deletions
diff --git a/res/layout/fragment_pick.xml b/res/layout/fragment_pick.xml
index 5522c5a81..88c28bdbc 100644
--- a/res/layout/fragment_pick.xml
+++ b/res/layout/fragment_pick.xml
@@ -1,5 +1,4 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Copyright (C) 2014 The Android Open Source Project
+<?xml version="1.0" encoding="utf-8"?><!-- Copyright (C) 2014 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
@@ -30,7 +29,7 @@
android:layout_height="wrap_content"
android:layout_marginStart="4dp"
android:layout_marginEnd="4dp"
- android:text="@android:string/cancel"/>
+ android:text="@android:string/cancel" />
<FrameLayout
android:layout_width="match_parent"
@@ -42,13 +41,14 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="4dp"
- android:layout_marginEnd="4dp"/>
+ android:layout_marginEnd="4dp" />
<!-- Handles touch events when button1 is disabled. -->
<FrameLayout
android:id="@+id/pick_button_overlay"
+ android:importantForAccessibility="no"
android:layout_width="match_parent"
- android:layout_height="match_parent"/>
+ android:layout_height="match_parent" />
</FrameLayout>