From 81584a69b4fd161af5b90c4589326aa70f48e2c2 Mon Sep 17 00:00:00 2001 From: tibbi Date: Tue, 5 Mar 2019 20:47:29 +0100 Subject: [PATCH] adding a note to grouping and sorting to avoid some confusion --- .../gallery/pro/dialogs/ChangeSortingDialog.kt | 1 + app/src/main/res/layout/dialog_change_grouping.xml | 9 +++++++++ app/src/main/res/layout/dialog_change_sorting.xml | 9 +++++++++ 3 files changed, 19 insertions(+) diff --git a/app/src/main/kotlin/com/simplemobiletools/gallery/pro/dialogs/ChangeSortingDialog.kt b/app/src/main/kotlin/com/simplemobiletools/gallery/pro/dialogs/ChangeSortingDialog.kt index 5dfbe80cb..79c0961a6 100644 --- a/app/src/main/kotlin/com/simplemobiletools/gallery/pro/dialogs/ChangeSortingDialog.kt +++ b/app/src/main/kotlin/com/simplemobiletools/gallery/pro/dialogs/ChangeSortingDialog.kt @@ -24,6 +24,7 @@ class ChangeSortingDialog(val activity: BaseSimpleActivity, val isDirectorySorti view = activity.layoutInflater.inflate(R.layout.dialog_change_sorting, null).apply { use_for_this_folder_divider.beVisibleIf(showFolderCheckbox) sorting_dialog_use_for_this_folder.beVisibleIf(showFolderCheckbox) + sorting_dialog_bottom_note.beVisibleIf(!isDirectorySorting) sorting_dialog_use_for_this_folder.isChecked = config.hasCustomSorting(pathToUse) } diff --git a/app/src/main/res/layout/dialog_change_grouping.xml b/app/src/main/res/layout/dialog_change_grouping.xml index d4e6fc02f..a51c19111 100644 --- a/app/src/main/res/layout/dialog_change_grouping.xml +++ b/app/src/main/res/layout/dialog_change_grouping.xml @@ -109,5 +109,14 @@ android:paddingBottom="@dimen/activity_margin" android:text="@string/use_for_this_folder"/> + + diff --git a/app/src/main/res/layout/dialog_change_sorting.xml b/app/src/main/res/layout/dialog_change_sorting.xml index 4ac35ce0f..8d3dc7570 100644 --- a/app/src/main/res/layout/dialog_change_sorting.xml +++ b/app/src/main/res/layout/dialog_change_sorting.xml @@ -109,5 +109,14 @@ android:paddingBottom="@dimen/activity_margin" android:text="@string/use_for_this_folder"/> + +