From 1b5040ebcd727c6d5909e6301293a1cad459edf1 Mon Sep 17 00:00:00 2001 From: tibbi Date: Mon, 18 Jan 2021 13:31:27 +0100 Subject: [PATCH] highlight selected items at list views too --- .../gallery/pro/adapters/DirectoryAdapter.kt | 4 ++++ .../gallery/pro/adapters/MediaAdapter.kt | 4 ++++ .../main/res/layout/directory_item_list.xml | 20 +++++++++---------- .../main/res/layout/photo_video_item_list.xml | 18 ++++++++--------- 4 files changed, 27 insertions(+), 19 deletions(-) diff --git a/app/src/main/kotlin/com/simplemobiletools/gallery/pro/adapters/DirectoryAdapter.kt b/app/src/main/kotlin/com/simplemobiletools/gallery/pro/adapters/DirectoryAdapter.kt index 3aa01dc16..7cecc3aec 100644 --- a/app/src/main/kotlin/com/simplemobiletools/gallery/pro/adapters/DirectoryAdapter.kt +++ b/app/src/main/kotlin/com/simplemobiletools/gallery/pro/adapters/DirectoryAdapter.kt @@ -680,6 +680,10 @@ class DirectoryAdapter(activity: BaseSimpleActivity, var dirs: ArrayList - @@ -14,7 +14,7 @@ + android:layout_height="@dimen/list_view_folder_thumbnail_size" /> + android:visibility="gone" /> + android:visibility="gone" /> + android:textSize="@dimen/bigger_text_size" /> + android:textSize="@dimen/smaller_text_size" /> + android:textSize="@dimen/smaller_text_size" /> + android:visibility="gone" /> + android:visibility="gone" /> diff --git a/app/src/main/res/layout/photo_video_item_list.xml b/app/src/main/res/layout/photo_video_item_list.xml index f4c6474aa..7346f892e 100644 --- a/app/src/main/res/layout/photo_video_item_list.xml +++ b/app/src/main/res/layout/photo_video_item_list.xml @@ -1,6 +1,5 @@ - @@ -15,7 +15,7 @@ + android:layout_height="@dimen/list_view_folder_thumbnail_size" /> + android:visibility="gone" /> + tools:text="My photo" /> + android:visibility="gone" /> + tools:text="00:05" />