Add title to menu items
This commit is contained in:
parent
ae93d78615
commit
30508dd7e1
@ -8,12 +8,6 @@
|
||||
android:visible="false"
|
||||
android:icon="@drawable/icon_select_all"/>
|
||||
|
||||
<item
|
||||
android:id="@+id/cut"
|
||||
app:showAsAction="always"
|
||||
android:visible="false"
|
||||
android:icon="@drawable/icon_cut"/>
|
||||
|
||||
<item
|
||||
android:id="@+id/delete"
|
||||
app:showAsAction="always"
|
||||
@ -27,6 +21,13 @@
|
||||
android:icon="@drawable/icon_copy"
|
||||
android:title="@string/copy_menu_title"/>
|
||||
|
||||
<item
|
||||
android:id="@+id/cut"
|
||||
app:showAsAction="ifRoom"
|
||||
android:visible="false"
|
||||
android:title="@string/cut"
|
||||
android:icon="@drawable/icon_cut"/>
|
||||
|
||||
<item
|
||||
android:id="@+id/decrypt"
|
||||
app:showAsAction="ifRoom"
|
||||
@ -61,12 +62,14 @@
|
||||
|
||||
<item
|
||||
android:id="@+id/sort"
|
||||
app:showAsAction="always"
|
||||
app:showAsAction="ifRoom"
|
||||
android:title="@string/sort_by"
|
||||
android:icon="@drawable/icon_sort"/>
|
||||
|
||||
<item
|
||||
android:id="@+id/close"
|
||||
app:showAsAction="always"
|
||||
app:showAsAction="ifRoom"
|
||||
android:title="@string/close_volume"
|
||||
android:icon="@drawable/icon_close"/>
|
||||
|
||||
</menu>
|
||||
|
@ -16,17 +16,19 @@
|
||||
|
||||
<item
|
||||
android:id="@+id/validate"
|
||||
app:showAsAction="ifRoom"
|
||||
app:showAsAction="always"
|
||||
android:icon="@drawable/icon_check"/>
|
||||
|
||||
<item
|
||||
android:id="@+id/sort"
|
||||
app:showAsAction="always"
|
||||
app:showAsAction="ifRoom"
|
||||
android:title="@string/sort_by"
|
||||
android:icon="@drawable/icon_sort"/>
|
||||
|
||||
<item
|
||||
android:id="@+id/close"
|
||||
app:showAsAction="always"
|
||||
app:showAsAction="ifRoom"
|
||||
android:title="@string/close_volume"
|
||||
android:icon="@drawable/icon_close"/>
|
||||
|
||||
</menu>
|
||||
|
@ -4,13 +4,13 @@
|
||||
|
||||
<item
|
||||
android:id="@+id/validate"
|
||||
app:showAsAction="ifRoom"
|
||||
app:showAsAction="always"
|
||||
android:visible="false"
|
||||
android:icon="@drawable/icon_check"/>
|
||||
|
||||
<item
|
||||
android:id="@+id/select_all"
|
||||
app:showAsAction="ifRoom"
|
||||
app:showAsAction="always"
|
||||
android:visible="false"
|
||||
android:icon="@drawable/icon_select_all"/>
|
||||
|
||||
@ -22,12 +22,14 @@
|
||||
|
||||
<item
|
||||
android:id="@+id/sort"
|
||||
app:showAsAction="always"
|
||||
app:showAsAction="ifRoom"
|
||||
android:title="@string/sort_by"
|
||||
android:icon="@drawable/icon_sort"/>
|
||||
|
||||
<item
|
||||
android:id="@+id/close"
|
||||
app:showAsAction="always"
|
||||
app:showAsAction="ifRoom"
|
||||
android:title="@string/close_volume"
|
||||
android:icon="@drawable/icon_close"/>
|
||||
|
||||
</menu>
|
||||
|
@ -1,10 +1,12 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<menu xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
|
||||
<item
|
||||
android:id="@+id/menu_save"
|
||||
app:showAsAction="always"
|
||||
android:icon="@drawable/icon_save"/>
|
||||
|
||||
<item
|
||||
android:id="@+id/word_wrap"
|
||||
app:showAsAction="never"
|
||||
|
@ -195,4 +195,7 @@
|
||||
<string name="auto_fit_title">Video player screen auto-rotation</string>
|
||||
<string name="auto_fit_summary">Auto-rotate the screen to fit video dimensions</string>
|
||||
<string name="open_tree_failed">No file explorer found. Please install one and retry.</string>
|
||||
<string name="close_volume">Close volume</string>
|
||||
<string name="sort_by">Sort By</string>
|
||||
<string name="cut">Cut</string>
|
||||
</resources>
|
||||
|
Loading…
Reference in New Issue
Block a user