diff options
author | Taesu Lee <taesu82.lee@samsung.com> | 2020-03-06 17:37:54 +0900 |
---|---|---|
committer | Luca Stefani <luca.stefani.ge1@gmail.com> | 2020-03-16 16:29:45 +0100 |
commit | 0249cb0164a86fbe4e7be65f8e9b18446db638ea (patch) | |
tree | c7ce4f522f2b10a9c3522806995147538a65920c | |
parent | 5ca1c4339d38ea0091bd627db6b45cc1dec3b17c (diff) | |
download | android_packages_apps_Messaging-0249cb0164a86fbe4e7be65f8e9b18446db638ea.tar.gz android_packages_apps_Messaging-0249cb0164a86fbe4e7be65f8e9b18446db638ea.tar.bz2 android_packages_apps_Messaging-0249cb0164a86fbe4e7be65f8e9b18446db638ea.zip |
Fix undesirable ripple effect on GalleryGridView
Set focusableInTouchMode = ture for workaround.
Test: Long-press a media and release it on GalleryGridView, check
whether there is any undesirable ripple effect or not.
Change-Id: I076c47338d11b396210648a68ae393761d334c03
Signed-off-by: Taesu Lee <taesu82.lee@samsung.com>
-rw-r--r-- | res/layout/gallery_grid_item_view.xml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/res/layout/gallery_grid_item_view.xml b/res/layout/gallery_grid_item_view.xml index fc857ca..f8f3920 100644 --- a/res/layout/gallery_grid_item_view.xml +++ b/res/layout/gallery_grid_item_view.xml @@ -85,6 +85,7 @@ <View android:layout_width="match_parent" android:layout_height="match_parent" + android:focusableInTouchMode="true" android:background="@drawable/gallery_image_background_selector" /> <CheckBox |