Loading packages/DocumentsUI/res/color/item_doc_grid_overlay.xml +5 −1 Original line number Diff line number Diff line Loading @@ -15,6 +15,10 @@ --> <selector xmlns:android="http://schemas.android.com/apk/res/android"> <item android:state_focused="true" android:color="@color/platform_blue_a200" android:alpha="0.1" /> <item android:state_activated="true" android:color="?android:attr/colorAccent" Loading packages/DocumentsUI/res/color/item_doc_list_background_activated.xml +4 −0 Original line number Diff line number Diff line Loading @@ -15,6 +15,10 @@ --> <selector xmlns:android="http://schemas.android.com/apk/res/android"> <item android:state_focused="true" android:color="@color/platform_blue_a200" android:alpha="0.1" /> <item android:state_activated="true" android:color="?android:attr/colorAccent" Loading packages/DocumentsUI/src/com/android/documentsui/DirectoryFragment.java +4 −0 Original line number Diff line number Diff line Loading @@ -873,6 +873,10 @@ public class DirectoryFragment extends Fragment { public DocumentHolder(View view) { super(view); this.view = view; // Setting this using android:focusable in the item layouts doesn't work for list items. // So we set it here. Note that touch mode focus is a separate issue - see // View.setFocusableInTouchMode and View.isInTouchMode for more info. this.view.setFocusable(true); } } Loading Loading
packages/DocumentsUI/res/color/item_doc_grid_overlay.xml +5 −1 Original line number Diff line number Diff line Loading @@ -15,6 +15,10 @@ --> <selector xmlns:android="http://schemas.android.com/apk/res/android"> <item android:state_focused="true" android:color="@color/platform_blue_a200" android:alpha="0.1" /> <item android:state_activated="true" android:color="?android:attr/colorAccent" Loading
packages/DocumentsUI/res/color/item_doc_list_background_activated.xml +4 −0 Original line number Diff line number Diff line Loading @@ -15,6 +15,10 @@ --> <selector xmlns:android="http://schemas.android.com/apk/res/android"> <item android:state_focused="true" android:color="@color/platform_blue_a200" android:alpha="0.1" /> <item android:state_activated="true" android:color="?android:attr/colorAccent" Loading
packages/DocumentsUI/src/com/android/documentsui/DirectoryFragment.java +4 −0 Original line number Diff line number Diff line Loading @@ -873,6 +873,10 @@ public class DirectoryFragment extends Fragment { public DocumentHolder(View view) { super(view); this.view = view; // Setting this using android:focusable in the item layouts doesn't work for list items. // So we set it here. Note that touch mode focus is a separate issue - see // View.setFocusableInTouchMode and View.isInTouchMode for more info. this.view.setFocusable(true); } } Loading