show more items at the top menu

This commit is contained in:
tibbi 2022-08-01 23:25:16 +02:00
parent 62109dbb1c
commit c2c1fbb7ae
5 changed files with 16 additions and 15 deletions

View File

@ -63,7 +63,7 @@ android {
} }
dependencies { dependencies {
implementation 'com.github.SimpleMobileTools:Simple-Commons:8ee6c0c17b' implementation 'com.github.SimpleMobileTools:Simple-Commons:0c82e5f216'
implementation 'androidx.multidex:multidex:2.0.1' implementation 'androidx.multidex:multidex:2.0.1'
implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.1.0' implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.1.0'
} }

View File

@ -1,24 +1,25 @@
<?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:tools="http://schemas.android.com/tools"
tools:ignore="AppCompatResource">
<item <item
android:id="@+id/cab_change_order" android:id="@+id/cab_change_order"
android:icon="@drawable/ic_drag_handle_vector" android:icon="@drawable/ic_drag_handle_vector"
android:title="@string/change_order" android:showAsAction="always"
app:showAsAction="ifRoom" /> android:title="@string/change_order" />
<item <item
android:id="@+id/cab_edit" android:id="@+id/cab_edit"
android:icon="@drawable/ic_rename_vector" android:icon="@drawable/ic_rename_vector"
android:title="@string/rename" android:showAsAction="always"
app:showAsAction="ifRoom" /> android:title="@string/rename" />
<item <item
android:id="@+id/cab_remove" android:id="@+id/cab_remove"
android:icon="@drawable/ic_minus_circle_vector" android:icon="@drawable/ic_minus_circle_vector"
android:title="@string/remove" android:showAsAction="always"
app:showAsAction="ifRoom" /> android:title="@string/remove" />
<item <item
android:id="@+id/cab_select_all" android:id="@+id/cab_select_all"
android:icon="@drawable/ic_select_all_vector" android:icon="@drawable/ic_select_all_vector"
android:title="@string/select_all" android:showAsAction="ifRoom"
app:showAsAction="ifRoom" /> android:title="@string/select_all" />
</menu> </menu>

View File

@ -7,12 +7,12 @@
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="always" />
<item <item
android:id="@+id/toggle_app_name" android:id="@+id/toggle_app_name"
android:icon="@drawable/ic_label_vector" android:icon="@drawable/ic_label_vector"
android:title="@string/toggle_app_name" android:title="@string/toggle_app_name"
app:showAsAction="ifRoom" /> app:showAsAction="always" />
<item <item
android:id="@+id/increase_column_count" android:id="@+id/increase_column_count"
android:showAsAction="never" android:showAsAction="never"
@ -27,7 +27,7 @@
android:id="@+id/settings" android:id="@+id/settings"
android:icon="@drawable/ic_settings_cog_vector" android:icon="@drawable/ic_settings_cog_vector"
android:title="@string/settings" android:title="@string/settings"
app:showAsAction="ifRoom" /> app:showAsAction="always" />
<item <item
android:id="@+id/about" android:id="@+id/about"
android:icon="@drawable/ic_info_vector" android:icon="@drawable/ic_info_vector"

View File

@ -9,7 +9,7 @@ buildscript {
} }
dependencies { dependencies {
classpath 'com.android.tools.build:gradle:7.1.3' classpath 'com.android.tools.build:gradle:7.2.1'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
// NOTE: Do not place your application dependencies here; they belong // NOTE: Do not place your application dependencies here; they belong

View File

@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-bin.zip distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.3-bin.zip