diff options
author | Chris Wren <cwren@android.com> | 2013-03-27 17:09:43 -0700 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2013-03-27 17:09:43 -0700 |
commit | 9135d9cddb2f9ebd1a1a79c0556aa5fcd7f49786 (patch) | |
tree | 11a0ffa27d022ff3f9648e072fe0c2def8551b37 | |
parent | 144f49ab277544a08499360f650514d6a9fdd93c (diff) | |
parent | 7ec52545cbf2f26dac8e5e0105147075c57956ac (diff) | |
download | android_packages_screensavers_PhotoTable-9135d9cddb2f9ebd1a1a79c0556aa5fcd7f49786.tar.gz android_packages_screensavers_PhotoTable-9135d9cddb2f9ebd1a1a79c0556aa5fcd7f49786.tar.bz2 android_packages_screensavers_PhotoTable-9135d9cddb2f9ebd1a1a79c0556aa5fcd7f49786.zip |
am 7ec52545: enable keyclicks in the photo daydream album selection menu.
* commit '7ec52545cbf2f26dac8e5e0105147075c57956ac':
enable keyclicks in the photo daydream album selection menu.
-rw-r--r-- | res/layout/album.xml | 2 | ||||
-rw-r--r-- | src/com/android/dreams/phototable/FlipperDreamSettings.java | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/res/layout/album.xml b/res/layout/album.xml index 86ed595..b0aaaa2 100644 --- a/res/layout/album.xml +++ b/res/layout/album.xml @@ -20,6 +20,8 @@ android:layout_height="wrap_content" android:orientation="horizontal" android:gravity="center_vertical" + android:focusable="true" + android:clickable="true" android:background="?android:attr/selectableItemBackground" > <TextView diff --git a/src/com/android/dreams/phototable/FlipperDreamSettings.java b/src/com/android/dreams/phototable/FlipperDreamSettings.java index 8e6fac4..50e5f1e 100644 --- a/src/com/android/dreams/phototable/FlipperDreamSettings.java +++ b/src/com/android/dreams/phototable/FlipperDreamSettings.java @@ -76,6 +76,7 @@ public class FlipperDreamSettings extends ListActivity { } }); setListAdapter(mAdapter); + getListView().setItemsCanFocus(true); updateActionItem(); if (mAdapter.getCount() == 0) { findViewById(android.R.id.empty).setVisibility(View.GONE); |