diff options
author | Maurice Lam <yukl@google.com> | 2017-08-01 19:08:48 -0700 |
---|---|---|
committer | Maurice Lam <yukl@google.com> | 2017-08-01 19:14:37 -0700 |
commit | a23e50896f6ddb40f14551d7fc1af129ce501f3f (patch) | |
tree | c40c04b2597c60abe2c011d21c7a5eb08da384af /library/gingerbread/src | |
parent | 8863d97dff18d61c6ac43d91db3f249a10cc7a17 (diff) | |
download | setupwizard-a23e50896f6ddb40f14551d7fc1af129ce501f3f.tar.gz |
Allow keyboard to focus on switch item
Test: ./gradlew connectedAndroidTest test
Bug: 63115991
Change-Id: If03b3e469fd740631b5eabb6031f11fd2165bdb3
Diffstat (limited to 'library/gingerbread/src')
-rw-r--r-- | library/gingerbread/src/com/android/setupwizardlib/items/ExpandableSwitchItem.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/library/gingerbread/src/com/android/setupwizardlib/items/ExpandableSwitchItem.java b/library/gingerbread/src/com/android/setupwizardlib/items/ExpandableSwitchItem.java index be9916e..71d1bb6 100644 --- a/library/gingerbread/src/com/android/setupwizardlib/items/ExpandableSwitchItem.java +++ b/library/gingerbread/src/com/android/setupwizardlib/items/ExpandableSwitchItem.java @@ -138,6 +138,10 @@ public class ExpandableSwitchItem extends SwitchItem } tintCompoundDrawables(view); + + // Expandable switch item has focusability on the expandable layout on the left, and the + // switch on the right, but not the item itself. + view.setFocusable(false); } @Override |