adding a note to grouping and sorting to avoid some confusion

This commit is contained in:
tibbi 2019-03-05 20:47:29 +01:00
parent 5213575267
commit 81584a69b4
3 changed files with 19 additions and 0 deletions

View file

@ -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)
}

View file

@ -109,5 +109,14 @@
android:paddingBottom="@dimen/activity_margin"
android:text="@string/use_for_this_folder"/>
<com.simplemobiletools.commons.views.MyTextView
android:id="@+id/grouping_dialog_bottom_note"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:paddingStart="@dimen/small_margin"
android:paddingEnd="@dimen/medium_margin"
android:text="@string/grouping_and_sorting"
android:textSize="@dimen/smaller_text_size"/>
</LinearLayout>
</ScrollView>

View file

@ -109,5 +109,14 @@
android:paddingBottom="@dimen/activity_margin"
android:text="@string/use_for_this_folder"/>
<com.simplemobiletools.commons.views.MyTextView
android:id="@+id/sorting_dialog_bottom_note"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:paddingStart="@dimen/small_margin"
android:paddingEnd="@dimen/medium_margin"
android:text="@string/grouping_and_sorting"
android:textSize="@dimen/smaller_text_size"/>
</LinearLayout>
</ScrollView>