move the Un/Set as defaul folder menu item a bit up

This commit is contained in:
tibbi 2020-11-09 12:34:38 +01:00
parent eb95337be4
commit 98e297fec0
3 changed files with 58 additions and 58 deletions

View file

@ -77,7 +77,7 @@ android {
} }
dependencies { dependencies {
implementation 'com.simplemobiletools:commons:5.31.28' implementation 'com.simplemobiletools:commons:5.31.29'
implementation 'com.theartofdev.edmodo:android-image-cropper:2.8.0' implementation 'com.theartofdev.edmodo:android-image-cropper:2.8.0'
implementation 'it.sephiroth.android.exif:library:1.0.1' implementation 'it.sephiroth.android.exif:library:1.0.1'
implementation 'pl.droidsonroids.gif:android-gif-drawable:1.2.19' implementation 'pl.droidsonroids.gif:android-gif-drawable:1.2.19'

View file

@ -1,73 +1,73 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<menu xmlns:android="http://schemas.android.com/apk/res/android" <menu xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"> xmlns:app="http://schemas.android.com/apk/res-auto">
<item <item
android:id="@+id/search" android:id="@+id/search"
android:icon="@drawable/ic_search_vector" android:icon="@drawable/ic_search_vector"
android:title="@string/search" android:title="@string/search"
app:actionViewClass="androidx.appcompat.widget.SearchView" app:actionViewClass="androidx.appcompat.widget.SearchView"
app:showAsAction="collapseActionView|always"/> app:showAsAction="collapseActionView|always" />
<item <item
android:id="@+id/open_camera" android:id="@+id/open_camera"
android:icon="@drawable/ic_camera_vector" android:icon="@drawable/ic_camera_vector"
android:title="@string/open_camera" android:title="@string/open_camera"
app:showAsAction="ifRoom"/> app:showAsAction="ifRoom" />
<item <item
android:id="@+id/sort" android:id="@+id/sort"
android:icon="@drawable/ic_sort_vector" android:icon="@drawable/ic_sort_vector"
android:title="@string/sort_by" android:title="@string/sort_by"
app:showAsAction="ifRoom"/> app:showAsAction="ifRoom" />
<item <item
android:id="@+id/filter" android:id="@+id/filter"
android:icon="@drawable/ic_filter_vector" android:icon="@drawable/ic_filter_vector"
android:title="@string/filter_media" android:title="@string/filter_media"
app:showAsAction="ifRoom"/> app:showAsAction="ifRoom" />
<item <item
android:id="@+id/change_view_type" android:id="@+id/change_view_type"
android:title="@string/change_view_type" android:title="@string/change_view_type"
app:showAsAction="never"/> app:showAsAction="never" />
<item <item
android:id="@+id/temporarily_show_hidden" android:id="@+id/temporarily_show_hidden"
android:title="@string/temporarily_show_hidden" android:title="@string/temporarily_show_hidden"
app:showAsAction="never"/> app:showAsAction="never" />
<item <item
android:id="@+id/stop_showing_hidden" android:id="@+id/stop_showing_hidden"
android:title="@string/stop_showing_hidden" android:title="@string/stop_showing_hidden"
app:showAsAction="never"/> app:showAsAction="never" />
<item <item
android:id="@+id/show_all" android:id="@+id/show_all"
android:title="@string/show_all" android:title="@string/show_all"
app:showAsAction="never"/> app:showAsAction="never" />
<item <item
android:id="@+id/show_the_recycle_bin" android:id="@+id/show_the_recycle_bin"
android:title="@string/show_the_recycle_bin" android:title="@string/show_the_recycle_bin"
app:showAsAction="never"/> app:showAsAction="never" />
<item <item
android:id="@+id/hide_the_recycle_bin" android:id="@+id/hide_the_recycle_bin"
android:title="@string/hide_the_recycle_bin" android:title="@string/hide_the_recycle_bin"
app:showAsAction="never"/> app:showAsAction="never" />
<item
android:id="@+id/create_new_folder"
android:title="@string/create_new_folder"
app:showAsAction="never"/>
<item
android:id="@+id/increase_column_count"
android:title="@string/increase_column_count"
app:showAsAction="never"/>
<item
android:id="@+id/reduce_column_count"
android:title="@string/reduce_column_count"
app:showAsAction="never"/>
<item <item
android:id="@+id/set_as_default_folder" android:id="@+id/set_as_default_folder"
android:title="@string/set_as_default_folder" android:title="@string/set_as_default_folder"
app:showAsAction="never"/> app:showAsAction="never" />
<item
android:id="@+id/create_new_folder"
android:title="@string/create_new_folder"
app:showAsAction="never" />
<item
android:id="@+id/increase_column_count"
android:title="@string/increase_column_count"
app:showAsAction="never" />
<item
android:id="@+id/reduce_column_count"
android:title="@string/reduce_column_count"
app:showAsAction="never" />
<item <item
android:id="@+id/settings" android:id="@+id/settings"
android:title="@string/settings" android:title="@string/settings"
app:showAsAction="never"/> app:showAsAction="never" />
<item <item
android:id="@+id/about" android:id="@+id/about"
android:title="@string/about" android:title="@string/about"
app:showAsAction="never"/> app:showAsAction="never" />
</menu> </menu>

View file

@ -1,94 +1,94 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<menu xmlns:android="http://schemas.android.com/apk/res/android" <menu xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"> xmlns:app="http://schemas.android.com/apk/res-auto">
<item <item
android:id="@+id/search" android:id="@+id/search"
android:icon="@drawable/ic_search_vector" android:icon="@drawable/ic_search_vector"
android:title="@string/search" android:title="@string/search"
app:actionViewClass="androidx.appcompat.widget.SearchView" app:actionViewClass="androidx.appcompat.widget.SearchView"
app:showAsAction="collapseActionView|ifRoom"/> app:showAsAction="collapseActionView|ifRoom" />
<item <item
android:id="@+id/toggle_filename" android:id="@+id/toggle_filename"
android:icon="@drawable/ic_label_vector" android:icon="@drawable/ic_label_vector"
android:title="@string/toggle_filename" android:title="@string/toggle_filename"
app:showAsAction="ifRoom"/> app:showAsAction="ifRoom" />
<item <item
android:id="@+id/sort" android:id="@+id/sort"
android:icon="@drawable/ic_sort_vector" android:icon="@drawable/ic_sort_vector"
android:title="@string/sort_by" android:title="@string/sort_by"
app:showAsAction="ifRoom"/> app:showAsAction="ifRoom" />
<item <item
android:id="@+id/filter" android:id="@+id/filter"
android:icon="@drawable/ic_filter_vector" android:icon="@drawable/ic_filter_vector"
android:title="@string/filter_media" android:title="@string/filter_media"
app:showAsAction="ifRoom"/> app:showAsAction="ifRoom" />
<item <item
android:id="@+id/change_view_type" android:id="@+id/change_view_type"
android:title="@string/change_view_type" android:title="@string/change_view_type"
app:showAsAction="never"/> app:showAsAction="never" />
<item <item
android:id="@+id/temporarily_show_hidden" android:id="@+id/temporarily_show_hidden"
android:title="@string/temporarily_show_hidden" android:title="@string/temporarily_show_hidden"
app:showAsAction="never"/> app:showAsAction="never" />
<item <item
android:id="@+id/stop_showing_hidden" android:id="@+id/stop_showing_hidden"
android:title="@string/stop_showing_hidden" android:title="@string/stop_showing_hidden"
app:showAsAction="never"/> app:showAsAction="never" />
<item <item
android:id="@+id/empty_recycle_bin" android:id="@+id/empty_recycle_bin"
android:title="@string/empty_recycle_bin" android:title="@string/empty_recycle_bin"
app:showAsAction="never"/> app:showAsAction="never" />
<item <item
android:id="@+id/empty_disable_recycle_bin" android:id="@+id/empty_disable_recycle_bin"
android:title="@string/empty_and_disable_recycle_bin" android:title="@string/empty_and_disable_recycle_bin"
app:showAsAction="never"/> app:showAsAction="never" />
<item <item
android:id="@+id/restore_all_files" android:id="@+id/restore_all_files"
android:title="@string/restore_all_files" android:title="@string/restore_all_files"
app:showAsAction="never"/> app:showAsAction="never" />
<item <item
android:id="@+id/folder_view" android:id="@+id/folder_view"
android:title="@string/folder_view" android:title="@string/folder_view"
app:showAsAction="never"/> app:showAsAction="never" />
<item <item
android:id="@+id/open_camera" android:id="@+id/open_camera"
android:icon="@drawable/ic_camera_vector" android:icon="@drawable/ic_camera_vector"
android:title="@string/open_camera" android:title="@string/open_camera"
app:showAsAction="ifRoom"/> app:showAsAction="ifRoom" />
<item <item
android:id="@+id/group" android:id="@+id/group"
android:title="@string/group_by" android:title="@string/group_by"
app:showAsAction="never"/> app:showAsAction="never" />
<item
android:id="@+id/create_new_folder"
android:title="@string/create_new_folder"
app:showAsAction="never"/>
<item
android:id="@+id/increase_column_count"
android:title="@string/increase_column_count"
app:showAsAction="never"/>
<item
android:id="@+id/reduce_column_count"
android:title="@string/reduce_column_count"
app:showAsAction="never"/>
<item <item
android:id="@+id/set_as_default_folder" android:id="@+id/set_as_default_folder"
android:title="@string/set_as_default_folder" android:title="@string/set_as_default_folder"
app:showAsAction="never"/> app:showAsAction="never" />
<item <item
android:id="@+id/unset_as_default_folder" android:id="@+id/unset_as_default_folder"
android:title="@string/unset_as_default_folder" android:title="@string/unset_as_default_folder"
app:showAsAction="never"/> app:showAsAction="never" />
<item
android:id="@+id/create_new_folder"
android:title="@string/create_new_folder"
app:showAsAction="never" />
<item
android:id="@+id/increase_column_count"
android:title="@string/increase_column_count"
app:showAsAction="never" />
<item
android:id="@+id/reduce_column_count"
android:title="@string/reduce_column_count"
app:showAsAction="never" />
<item <item
android:id="@+id/slideshow" android:id="@+id/slideshow"
android:title="@string/slideshow" android:title="@string/slideshow"
app:showAsAction="never"/> app:showAsAction="never" />
<item <item
android:id="@+id/settings" android:id="@+id/settings"
android:title="@string/settings" android:title="@string/settings"
app:showAsAction="never"/> app:showAsAction="never" />
<item <item
android:id="@+id/about" android:id="@+id/about"
android:title="@string/about" android:title="@string/about"
app:showAsAction="never"/> app:showAsAction="never" />
</menu> </menu>