Settings Focus prevented from moving to pref

RecyclerView containing preferences for support
tab and summary tab are no longer focusable
so that focus is not taken by preferences when
loaded.

Bug: 30214948
Change-Id: I23e717c58b1104fd0d2f8d89b77715a7b1fbc922
This commit is contained in:
Salvador Martinez
2016-08-08 11:06:37 -07:00
parent 0ac9f80a28
commit 0a9e62d399
2 changed files with 6 additions and 4 deletions

View File

@@ -19,9 +19,10 @@
android:id="@+id/dashboard_container" android:id="@+id/dashboard_container"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:clipChildren="false"
android:clipToPadding="false"
android:focusable="false"
android:paddingStart="@dimen/dashboard_padding_start" android:paddingStart="@dimen/dashboard_padding_start"
android:paddingEnd="@dimen/dashboard_padding_end" android:paddingEnd="@dimen/dashboard_padding_end"
android:paddingTop="@dimen/dashboard_padding_top" android:paddingTop="@dimen/dashboard_padding_top"
android:paddingBottom="@dimen/dashboard_padding_bottom" android:paddingBottom="@dimen/dashboard_padding_bottom"/>
android:clipChildren="false"
android:clipToPadding="false" />

View File

@@ -19,4 +19,5 @@
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/support_items" android:id="@+id/support_items"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent"/> android:layout_height="match_parent"
android:focusable="false" />