try harder at showing menu items

This commit is contained in:
tibbi 2022-08-29 12:49:55 +02:00
parent f872ed08e8
commit 0251773ef3
10 changed files with 24 additions and 24 deletions

View file

@ -7,7 +7,7 @@
android:id="@+id/cab_delete"
android:icon="@drawable/ic_delete_vector"
android:title="@string/delete"
app:showAsAction="ifRoom" />
app:showAsAction="always" />
<item
android:id="@+id/cab_add_to_playlist"
android:showAsAction="never"
@ -22,5 +22,5 @@
android:id="@+id/cab_select_all"
android:icon="@drawable/ic_select_all_vector"
android:title="@string/select_all"
app:showAsAction="ifRoom" />
app:showAsAction="always" />
</menu>

View file

@ -7,17 +7,17 @@
android:id="@+id/cab_delete"
android:icon="@drawable/ic_delete_vector"
android:title="@string/delete"
app:showAsAction="ifRoom" />
app:showAsAction="always" />
<item
android:id="@+id/cab_properties"
android:icon="@drawable/ic_info_vector"
android:title="@string/properties"
app:showAsAction="ifRoom" />
app:showAsAction="always" />
<item
android:id="@+id/cab_rename"
android:icon="@drawable/ic_rename_vector"
android:title="@string/rename"
app:showAsAction="ifRoom" />
app:showAsAction="always" />
<item
android:id="@+id/cab_add_to_playlist"
android:showAsAction="never"

View file

@ -7,7 +7,7 @@
android:id="@+id/cab_delete"
android:icon="@drawable/ic_delete_vector"
android:title="@string/delete"
app:showAsAction="ifRoom" />
app:showAsAction="always" />
<item
android:id="@+id/cab_add_to_playlist"
android:showAsAction="never"
@ -22,5 +22,5 @@
android:id="@+id/cab_select_all"
android:icon="@drawable/ic_select_all_vector"
android:title="@string/select_all"
app:showAsAction="ifRoom" />
app:showAsAction="always" />
</menu>

View file

@ -5,5 +5,5 @@
android:id="@+id/cab_select_all"
android:icon="@drawable/ic_select_all_vector"
android:title="@string/select_all"
app:showAsAction="ifRoom" />
app:showAsAction="always" />
</menu>

View file

@ -5,15 +5,15 @@
android:id="@+id/cab_rename"
android:icon="@drawable/ic_rename_vector"
android:title="@string/rename"
app:showAsAction="ifRoom" />
app:showAsAction="always" />
<item
android:id="@+id/cab_delete"
android:icon="@drawable/ic_delete_vector"
android:title="@string/delete"
app:showAsAction="ifRoom" />
app:showAsAction="always" />
<item
android:id="@+id/cab_select_all"
android:icon="@drawable/ic_select_all_vector"
android:title="@string/select_all"
app:showAsAction="ifRoom" />
app:showAsAction="always" />
</menu>

View file

@ -7,7 +7,7 @@
android:id="@+id/cab_remove_from_queue"
android:icon="@drawable/ic_minus_circle_vector"
android:title="@string/remove_from_queue"
app:showAsAction="ifRoom" />
app:showAsAction="always" />
<item
android:id="@+id/cab_add_to_playlist"
android:showAsAction="never"
@ -17,5 +17,5 @@
android:id="@+id/cab_select_all"
android:icon="@drawable/ic_select_all_vector"
android:title="@string/select_all"
app:showAsAction="ifRoom" />
app:showAsAction="always" />
</menu>

View file

@ -7,17 +7,17 @@
android:id="@+id/cab_remove_from_playlist"
android:icon="@drawable/ic_minus_circle_vector"
android:title="@string/remove_from_playlist"
app:showAsAction="ifRoom" />
app:showAsAction="always" />
<item
android:id="@+id/cab_delete"
android:icon="@drawable/ic_delete_vector"
android:title="@string/delete"
app:showAsAction="ifRoom" />
app:showAsAction="always" />
<item
android:id="@+id/cab_properties"
android:icon="@drawable/ic_info_vector"
android:title="@string/properties"
app:showAsAction="ifRoom" />
app:showAsAction="always" />
<item
android:id="@+id/cab_rename"
android:icon="@drawable/ic_rename_vector"

View file

@ -7,17 +7,17 @@
android:id="@+id/cab_delete"
android:icon="@drawable/ic_delete_vector"
android:title="@string/delete"
app:showAsAction="ifRoom" />
app:showAsAction="always" />
<item
android:id="@+id/cab_properties"
android:icon="@drawable/ic_info_vector"
android:title="@string/properties"
app:showAsAction="ifRoom" />
app:showAsAction="always" />
<item
android:id="@+id/cab_rename"
android:icon="@drawable/ic_rename_vector"
android:title="@string/rename"
app:showAsAction="ifRoom" />
app:showAsAction="always" />
<item
android:id="@+id/cab_add_to_playlist"
android:showAsAction="never"

View file

@ -8,12 +8,12 @@
android:icon="@drawable/ic_search_vector"
android:title="@string/search"
app:actionViewClass="androidx.appcompat.widget.SearchView"
app:showAsAction="collapseActionView|ifRoom" />
app:showAsAction="collapseActionView|always" />
<item
android:id="@+id/sort"
android:icon="@drawable/ic_sort_vector"
android:title="@string/sort_by"
app:showAsAction="ifRoom" />
app:showAsAction="always" />
<item
android:id="@+id/create_new_playlist"
android:showAsAction="never"
@ -43,7 +43,7 @@
android:id="@+id/settings"
android:icon="@drawable/ic_settings_cog_vector"
android:title="@string/settings"
app:showAsAction="ifRoom" />
app:showAsAction="always" />
<item
android:id="@+id/about"
android:icon="@drawable/ic_info_vector"

View file

@ -8,12 +8,12 @@
android:icon="@drawable/ic_search_vector"
android:title="@string/search"
app:actionViewClass="androidx.appcompat.widget.SearchView"
app:showAsAction="collapseActionView|ifRoom" />
app:showAsAction="collapseActionView|always" />
<item
android:id="@+id/sort"
android:icon="@drawable/ic_sort_vector"
android:title="@string/sort_by"
app:showAsAction="ifRoom" />
app:showAsAction="always" />
<item
android:id="@+id/add_file_to_playlist"
android:showAsAction="never"