forked from hardcoresushi/DroidFS
Add title to menu items
This commit is contained in:
parent
ae93d78615
commit
30508dd7e1
@ -8,12 +8,6 @@
|
|||||||
android:visible="false"
|
android:visible="false"
|
||||||
android:icon="@drawable/icon_select_all"/>
|
android:icon="@drawable/icon_select_all"/>
|
||||||
|
|
||||||
<item
|
|
||||||
android:id="@+id/cut"
|
|
||||||
app:showAsAction="always"
|
|
||||||
android:visible="false"
|
|
||||||
android:icon="@drawable/icon_cut"/>
|
|
||||||
|
|
||||||
<item
|
<item
|
||||||
android:id="@+id/delete"
|
android:id="@+id/delete"
|
||||||
app:showAsAction="always"
|
app:showAsAction="always"
|
||||||
@ -27,6 +21,13 @@
|
|||||||
android:icon="@drawable/icon_copy"
|
android:icon="@drawable/icon_copy"
|
||||||
android:title="@string/copy_menu_title"/>
|
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
|
<item
|
||||||
android:id="@+id/decrypt"
|
android:id="@+id/decrypt"
|
||||||
app:showAsAction="ifRoom"
|
app:showAsAction="ifRoom"
|
||||||
@ -61,12 +62,14 @@
|
|||||||
|
|
||||||
<item
|
<item
|
||||||
android:id="@+id/sort"
|
android:id="@+id/sort"
|
||||||
app:showAsAction="always"
|
app:showAsAction="ifRoom"
|
||||||
|
android:title="@string/sort_by"
|
||||||
android:icon="@drawable/icon_sort"/>
|
android:icon="@drawable/icon_sort"/>
|
||||||
|
|
||||||
<item
|
<item
|
||||||
android:id="@+id/close"
|
android:id="@+id/close"
|
||||||
app:showAsAction="always"
|
app:showAsAction="ifRoom"
|
||||||
|
android:title="@string/close_volume"
|
||||||
android:icon="@drawable/icon_close"/>
|
android:icon="@drawable/icon_close"/>
|
||||||
|
|
||||||
</menu>
|
</menu>
|
||||||
|
@ -3,30 +3,32 @@
|
|||||||
xmlns:app="http://schemas.android.com/apk/res-auto">
|
xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||||
|
|
||||||
<item
|
<item
|
||||||
android:id="@+id/external_open"
|
android:id="@+id/external_open"
|
||||||
app:showAsAction="never"
|
app:showAsAction="never"
|
||||||
android:visible="false"
|
android:visible="false"
|
||||||
android:title="@string/external_open"/>
|
android:title="@string/external_open"/>
|
||||||
|
|
||||||
<item
|
<item
|
||||||
android:id="@+id/rename"
|
android:id="@+id/rename"
|
||||||
app:showAsAction="never"
|
app:showAsAction="never"
|
||||||
android:visible="false"
|
android:visible="false"
|
||||||
android:title="@string/rename"/>
|
android:title="@string/rename"/>
|
||||||
|
|
||||||
<item
|
<item
|
||||||
android:id="@+id/validate"
|
android:id="@+id/validate"
|
||||||
app:showAsAction="ifRoom"
|
app:showAsAction="always"
|
||||||
android:icon="@drawable/icon_check"/>
|
android:icon="@drawable/icon_check"/>
|
||||||
|
|
||||||
<item
|
<item
|
||||||
android:id="@+id/sort"
|
android:id="@+id/sort"
|
||||||
app:showAsAction="always"
|
app:showAsAction="ifRoom"
|
||||||
|
android:title="@string/sort_by"
|
||||||
android:icon="@drawable/icon_sort"/>
|
android:icon="@drawable/icon_sort"/>
|
||||||
|
|
||||||
<item
|
<item
|
||||||
android:id="@+id/close"
|
android:id="@+id/close"
|
||||||
app:showAsAction="always"
|
app:showAsAction="ifRoom"
|
||||||
|
android:title="@string/close_volume"
|
||||||
android:icon="@drawable/icon_close"/>
|
android:icon="@drawable/icon_close"/>
|
||||||
|
|
||||||
</menu>
|
</menu>
|
||||||
|
@ -4,13 +4,13 @@
|
|||||||
|
|
||||||
<item
|
<item
|
||||||
android:id="@+id/validate"
|
android:id="@+id/validate"
|
||||||
app:showAsAction="ifRoom"
|
app:showAsAction="always"
|
||||||
android:visible="false"
|
android:visible="false"
|
||||||
android:icon="@drawable/icon_check"/>
|
android:icon="@drawable/icon_check"/>
|
||||||
|
|
||||||
<item
|
<item
|
||||||
android:id="@+id/select_all"
|
android:id="@+id/select_all"
|
||||||
app:showAsAction="ifRoom"
|
app:showAsAction="always"
|
||||||
android:visible="false"
|
android:visible="false"
|
||||||
android:icon="@drawable/icon_select_all"/>
|
android:icon="@drawable/icon_select_all"/>
|
||||||
|
|
||||||
@ -22,12 +22,14 @@
|
|||||||
|
|
||||||
<item
|
<item
|
||||||
android:id="@+id/sort"
|
android:id="@+id/sort"
|
||||||
app:showAsAction="always"
|
app:showAsAction="ifRoom"
|
||||||
|
android:title="@string/sort_by"
|
||||||
android:icon="@drawable/icon_sort"/>
|
android:icon="@drawable/icon_sort"/>
|
||||||
|
|
||||||
<item
|
<item
|
||||||
android:id="@+id/close"
|
android:id="@+id/close"
|
||||||
app:showAsAction="always"
|
app:showAsAction="ifRoom"
|
||||||
|
android:title="@string/close_volume"
|
||||||
android:icon="@drawable/icon_close"/>
|
android:icon="@drawable/icon_close"/>
|
||||||
|
|
||||||
</menu>
|
</menu>
|
||||||
|
@ -1,10 +1,12 @@
|
|||||||
<?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/menu_save"
|
android:id="@+id/menu_save"
|
||||||
app:showAsAction="always"
|
app:showAsAction="always"
|
||||||
android:icon="@drawable/icon_save"/>
|
android:icon="@drawable/icon_save"/>
|
||||||
|
|
||||||
<item
|
<item
|
||||||
android:id="@+id/word_wrap"
|
android:id="@+id/word_wrap"
|
||||||
app:showAsAction="never"
|
app:showAsAction="never"
|
||||||
|
@ -195,4 +195,7 @@
|
|||||||
<string name="auto_fit_title">Video player screen auto-rotation</string>
|
<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="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="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>
|
</resources>
|
||||||
|
Loading…
Reference in New Issue
Block a user