OSDN Git Service

Make ChooserActivity grid items focusable
authorAdam Powell <adamp@google.com>
Fri, 5 Feb 2016 00:56:00 +0000 (16:56 -0800)
committerAdam Powell <adamp@google.com>
Fri, 5 Feb 2016 00:56:00 +0000 (16:56 -0800)
Because keyboards are pretty cool.

Bug 26469615

Change-Id: Ie7a1a50c846ab9702821f9cf585f6d2c775cea38

core/res/res/layout/resolve_grid_item.xml

index 0a7ac77..305c8b0 100644 (file)
@@ -25,6 +25,7 @@
               android:gravity="center"
               android:paddingTop="8dp"
               android:paddingBottom="8dp"
+              android:focusable="true"
               android:background="?attr/selectableItemBackgroundBorderless">
 
     <FrameLayout android:layout_width="wrap_content"