mirror of
https://github.com/FossifyOrg/Gallery.git
synced 2024-11-26 14:37:59 +01:00
add a settings button for managing excluded folders
This commit is contained in:
parent
4572295698
commit
46f99fd1c0
17 changed files with 42 additions and 1 deletions
|
@ -19,6 +19,7 @@ class SettingsActivity : SimpleActivity() {
|
|||
super.onResume()
|
||||
|
||||
setupCustomizeColors()
|
||||
setupManageExcludedFolders()
|
||||
setupSameSorting()
|
||||
setupShowHiddenFolders()
|
||||
setupAutoplayVideos()
|
||||
|
@ -33,6 +34,12 @@ class SettingsActivity : SimpleActivity() {
|
|||
}
|
||||
}
|
||||
|
||||
private fun setupManageExcludedFolders() {
|
||||
settings_manage_excluded_folders_holder.setOnClickListener {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
private fun setupSameSorting() {
|
||||
settings_same_sorting.isChecked = config.isSameSorting
|
||||
settings_same_sorting_holder.setOnClickListener {
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
android:padding="@dimen/activity_margin">
|
||||
|
||||
<com.simplemobiletools.commons.views.MyTextView
|
||||
android:id="@+id/settings_customize_colors_label"
|
||||
android:id="@+id/settings_customize_colors"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerVertical="true"
|
||||
|
@ -30,6 +30,25 @@
|
|||
|
||||
</RelativeLayout>
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/settings_manage_excluded_folders_holder"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/medium_margin"
|
||||
android:background="?attr/selectableItemBackground"
|
||||
android:padding="@dimen/activity_margin">
|
||||
|
||||
<com.simplemobiletools.commons.views.MyTextView
|
||||
android:id="@+id/settings_manage_excluded_folders"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerVertical="true"
|
||||
android:paddingLeft="@dimen/medium_margin"
|
||||
android:paddingStart="@dimen/medium_margin"
|
||||
android:text="@string/manage_excluded_folders"/>
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/settings_same_sorting_holder"
|
||||
android:layout_width="match_parent"
|
||||
|
|
|
@ -28,6 +28,7 @@
|
|||
<string name="hide_folder_description">This function hides the folder by adding a \'.nomedia\' file into it. You can still see it by toggling \'Show hidden folders\' option in Settings. Continue?</string>
|
||||
<string name="exclude">Exclude</string>
|
||||
<string name="excluded_folders">Excluded folders</string>
|
||||
<string name="manage_excluded_folders">Manage excluded folders</string>
|
||||
<string name="exclude_folder_description">This function will make the selection hidden only for Simple Gallery. You can manage hidden folders in Settings. Continue?</string>
|
||||
|
||||
<!-- Resizing -->
|
||||
|
|
|
@ -28,6 +28,7 @@
|
|||
<string name="hide_folder_description">This function hides the folder by adding a \'.nomedia\' file into it. You can still see it by toggling \'Show hidden folders\' option in Settings. Continue?</string>
|
||||
<string name="exclude">Exclude</string>
|
||||
<string name="excluded_folders">Excluded folders</string>
|
||||
<string name="manage_excluded_folders">Manage excluded folders</string>
|
||||
<string name="exclude_folder_description">This function will make the selection hidden only for Simple Gallery. You can manage hidden folders in Settings. Continue?</string>
|
||||
|
||||
<!-- Resizing -->
|
||||
|
|
|
@ -28,6 +28,7 @@
|
|||
<string name="hide_folder_description">This function hides the folder by adding a \'.nomedia\' file into it. You can still see it by toggling \'Show hidden folders\' option in Settings. Continue?</string>
|
||||
<string name="exclude">Exclude</string>
|
||||
<string name="excluded_folders">Excluded folders</string>
|
||||
<string name="manage_excluded_folders">Manage excluded folders</string>
|
||||
<string name="exclude_folder_description">This function will make the selection hidden only for Simple Gallery. You can manage hidden folders in Settings. Continue?</string>
|
||||
|
||||
<!-- Resizing -->
|
||||
|
|
|
@ -28,6 +28,7 @@
|
|||
<string name="hide_folder_description">This function hides the folder by adding a \'.nomedia\' file into it. You can still see it by toggling \'Show hidden folders\' option in Settings. Continue?</string>
|
||||
<string name="exclude">Exclude</string>
|
||||
<string name="excluded_folders">Excluded folders</string>
|
||||
<string name="manage_excluded_folders">Manage excluded folders</string>
|
||||
<string name="exclude_folder_description">This function will make the selection hidden only for Simple Gallery. You can manage hidden folders in Settings. Continue?</string>
|
||||
|
||||
<!-- Resizing -->
|
||||
|
|
|
@ -28,6 +28,7 @@
|
|||
<string name="hide_folder_description">This function hides the folder by adding a \'.nomedia\' file into it. You can still see it by toggling \'Show hidden folders\' option in Settings. Continue?</string>
|
||||
<string name="exclude">Exclude</string>
|
||||
<string name="excluded_folders">Excluded folders</string>
|
||||
<string name="manage_excluded_folders">Manage excluded folders</string>
|
||||
<string name="exclude_folder_description">This function will make the selection hidden only for Simple Gallery. You can manage hidden folders in Settings. Continue?</string>
|
||||
|
||||
<!-- Resizing -->
|
||||
|
|
|
@ -28,6 +28,7 @@
|
|||
<string name="hide_folder_description">This function hides the folder by adding a \'.nomedia\' file into it. You can still see it by toggling \'Show hidden folders\' option in Settings. Continue?</string>
|
||||
<string name="exclude">Exclude</string>
|
||||
<string name="excluded_folders">Excluded folders</string>
|
||||
<string name="manage_excluded_folders">Manage excluded folders</string>
|
||||
<string name="exclude_folder_description">This function will make the selection hidden only for Simple Gallery. You can manage hidden folders in Settings. Continue?</string>
|
||||
|
||||
<!-- Resizing -->
|
||||
|
|
|
@ -28,6 +28,7 @@
|
|||
<string name="hide_folder_description">This function hides the folder by adding a \'.nomedia\' file into it. You can still see it by toggling \'Show hidden folders\' option in Settings. Continue?</string>
|
||||
<string name="exclude">Exclude</string>
|
||||
<string name="excluded_folders">Excluded folders</string>
|
||||
<string name="manage_excluded_folders">Manage excluded folders</string>
|
||||
<string name="exclude_folder_description">This function will make the selection hidden only for Simple Gallery. You can manage hidden folders in Settings. Continue?</string>
|
||||
|
||||
<!-- Resizing -->
|
||||
|
|
|
@ -28,6 +28,7 @@
|
|||
<string name="hide_folder_description">This function hides the folder by adding a \'.nomedia\' file into it. You can still see it by toggling \'Show hidden folders\' option in Settings. Continue?</string>
|
||||
<string name="exclude">Exclude</string>
|
||||
<string name="excluded_folders">Excluded folders</string>
|
||||
<string name="manage_excluded_folders">Manage excluded folders</string>
|
||||
<string name="exclude_folder_description">This function will make the selection hidden only for Simple Gallery. You can manage hidden folders in Settings. Continue?</string>
|
||||
|
||||
<!-- Resizing -->
|
||||
|
|
|
@ -28,6 +28,7 @@
|
|||
<string name="hide_folder_description">This function hides the folder by adding a \'.nomedia\' file into it. You can still see it by toggling \'Show hidden folders\' option in Settings. Continue?</string>
|
||||
<string name="exclude">Exclude</string>
|
||||
<string name="excluded_folders">Excluded folders</string>
|
||||
<string name="manage_excluded_folders">Manage excluded folders</string>
|
||||
<string name="exclude_folder_description">This function will make the selection hidden only for Simple Gallery. You can manage hidden folders in Settings. Continue?</string>
|
||||
|
||||
<!-- Resizing -->
|
||||
|
|
|
@ -28,6 +28,7 @@
|
|||
<string name="hide_folder_description">Táto funkcia skryje priečinok pridaním súboru \'.nomedia\'. Stále ho môžete vidieť zvolením možnosti \'Zobraziť skryté priečinky\' v nastaveniach. Pokračovať?</string>
|
||||
<string name="exclude">Vylúčiť</string>
|
||||
<string name="excluded_folders">Vylúčené priečinky</string>
|
||||
<string name="manage_excluded_folders">Spravovať vylúčené priečinky</string>
|
||||
<string name="exclude_folder_description">Táto funkcia ukryje výber iba pred Jednoduchou galériou. Spravovať vylúčené priečinky je možné v nastaveniach. Pokračovať?</string>
|
||||
|
||||
<!-- Resizing -->
|
||||
|
|
|
@ -26,6 +26,7 @@
|
|||
<string name="hide_folder_description">This function hides the folder by adding a \'.nomedia\' file into it. You can still see it by toggling \'Show hidden folders\' option in Settings. Continue?</string>
|
||||
<string name="exclude">Exclude</string>
|
||||
<string name="excluded_folders">Excluded folders</string>
|
||||
<string name="manage_excluded_folders">Manage excluded folders</string>
|
||||
<string name="exclude_folder_description">This function will make the selection hidden only for Simple Gallery. You can manage hidden folders in Settings. Continue?</string>
|
||||
|
||||
<!-- Resizing -->
|
||||
|
|
|
@ -28,6 +28,7 @@
|
|||
<string name="hide_folder_description">This function hides the folder by adding a \'.nomedia\' file into it. You can still see it by toggling \'Show hidden folders\' option in Settings. Continue?</string>
|
||||
<string name="exclude">Exclude</string>
|
||||
<string name="excluded_folders">Excluded folders</string>
|
||||
<string name="manage_excluded_folders">Manage excluded folders</string>
|
||||
<string name="exclude_folder_description">This function will make the selection hidden only for Simple Gallery. You can manage hidden folders in Settings. Continue?</string>
|
||||
|
||||
<!-- Resizing -->
|
||||
|
|
|
@ -28,6 +28,7 @@
|
|||
<string name="hide_folder_description">This function hides the folder by adding a \'.nomedia\' file into it. You can still see it by toggling \'Show hidden folders\' option in Settings. Continue?</string>
|
||||
<string name="exclude">Exclude</string>
|
||||
<string name="excluded_folders">Excluded folders</string>
|
||||
<string name="manage_excluded_folders">Manage excluded folders</string>
|
||||
<string name="exclude_folder_description">This function will make the selection hidden only for Simple Gallery. You can manage hidden folders in Settings. Continue?</string>
|
||||
|
||||
<!-- Resizing -->
|
||||
|
|
|
@ -28,6 +28,7 @@
|
|||
<string name="hide_folder_description">This function hides the folder by adding a \'.nomedia\' file into it. You can still see it by toggling \'Show hidden folders\' option in Settings. Continue?</string>
|
||||
<string name="exclude">Exclude</string>
|
||||
<string name="excluded_folders">Excluded folders</string>
|
||||
<string name="manage_excluded_folders">Manage excluded folders</string>
|
||||
<string name="exclude_folder_description">This function will make the selection hidden only for Simple Gallery. You can manage hidden folders in Settings. Continue?</string>
|
||||
|
||||
<!-- Resizing -->
|
||||
|
|
|
@ -28,6 +28,7 @@
|
|||
<string name="hide_folder_description">This function hides the folder by adding a \'.nomedia\' file into it. You can still see it by toggling \'Show hidden folders\' option in Settings. Continue?</string>
|
||||
<string name="exclude">Exclude</string>
|
||||
<string name="excluded_folders">Excluded folders</string>
|
||||
<string name="manage_excluded_folders">Manage excluded folders</string>
|
||||
<string name="exclude_folder_description">This function will make the selection hidden only for Simple Gallery. You can manage hidden folders in Settings. Continue?</string>
|
||||
|
||||
<!-- Resizing -->
|
||||
|
|
Loading…
Reference in a new issue