aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanny Epstein <depstein@google.com>2020-11-13 16:36:37 -0800
committerDanny Epstein <depstein@google.com>2020-11-13 16:36:37 -0800
commitc380a2e1378aa6421fc7b8c3ab566bb4dcde1357 (patch)
treecc10966740dc55a8a68db5a20a4f6dabc1ab1102
parent7bb95459b3d862103936c2cc9cd8f8dafbb7f6c6 (diff)
downloadtests-c380a2e1378aa6421fc7b8c3ab566bb4dcde1357.tar.gz
Remove focus highlight on sample WebView
Disable the default focus highlight on the WebView in the RotaryPlayground. Test: use rotary to focus a link in the sample WebView Bug: 173152508 Change-Id: I12adb7de0f144d4b82df10d2298b9b6cccef1e27
-rw-r--r--RotaryPlayground/res/layout/rotary_web_view.xml3
1 files changed, 2 insertions, 1 deletions
diff --git a/RotaryPlayground/res/layout/rotary_web_view.xml b/RotaryPlayground/res/layout/rotary_web_view.xml
index 7995dc6..6cdc5dd 100644
--- a/RotaryPlayground/res/layout/rotary_web_view.xml
+++ b/RotaryPlayground/res/layout/rotary_web_view.xml
@@ -51,7 +51,8 @@
android:id="@+id/web_view"
android:layout_width="match_parent"
android:layout_height="0dp"
- android:layout_weight="1" />
+ android:layout_weight="1"
+ android:defaultFocusHighlightEnabled="false"/>
<Button
android:id="@+id/bottom_button"