summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Heroy <jheroy@google.com>2016-08-04 23:27:07 (GMT)
committerJohn Heroy <jheroy@google.com>2016-08-08 17:27:40 (GMT)
commitb8216bf6015880444c852aa10c24ac8e09a67602 (patch)
tree613fd2293f4c4bae98e0bf4f8c85f2442b2b638e
parent6cb9d33d01eace71b0b48f449c292853b4eedb19 (diff)
downloadandroid_packages_wallpapers_LivePicker-b8216bf6015880444c852aa10c24ac8e09a67602.zip
android_packages_wallpapers_LivePicker-b8216bf6015880444c852aa10c24ac8e09a67602.tar.gz
android_packages_wallpapers_LivePicker-b8216bf6015880444c852aa10c24ac8e09a67602.tar.bz2
Expand attribution pane touch target to title.
This change makes it easier for users to hide the attribution pane (for example: left-handed user in LTR locale more easily tapping title to hide the pane). Bug: 30597113 Change-Id: I810a032fa9864366052a9fd56317b243b3121dd9
-rw-r--r--src/com/android/wallpaper/livepicker/LiveWallpaperPreview.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/com/android/wallpaper/livepicker/LiveWallpaperPreview.java b/src/com/android/wallpaper/livepicker/LiveWallpaperPreview.java
index b2d8a78..bebb422 100644
--- a/src/com/android/wallpaper/livepicker/LiveWallpaperPreview.java
+++ b/src/com/android/wallpaper/livepicker/LiveWallpaperPreview.java
@@ -145,6 +145,7 @@ public class LiveWallpaperPreview extends Activity {
}
}
};
+ mAttributionTitle.setOnClickListener(onClickListener);
mPreviewPaneArrow.setOnClickListener(onClickListener);
bottomSheetBehavior.setBottomSheetCallback(new BottomSheetBehavior.BottomSheetCallback() {