aboutsummaryrefslogtreecommitdiffstats
path: root/main/res/menu/cache_options.xml
diff options
context:
space:
mode:
Diffstat (limited to 'main/res/menu/cache_options.xml')
-rw-r--r--main/res/menu/cache_options.xml59
1 files changed, 45 insertions, 14 deletions
diff --git a/main/res/menu/cache_options.xml b/main/res/menu/cache_options.xml
index d2951f4..cb32215 100644
--- a/main/res/menu/cache_options.xml
+++ b/main/res/menu/cache_options.xml
@@ -1,45 +1,76 @@
<?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" >
<item
android:id="@+id/menu_default_navigation"
android:icon="@drawable/ic_menu_compass"
- android:title="@string/cache_menu_navigate"> <!-- will be replaced -->
+ android:title="@string/cache_menu_navigate"
+ app:showAsAction="ifRoom"> <!-- will be replaced -->
</item>
<item
android:id="@+id/menu_navigate"
android:icon="@drawable/ic_menu_mapmode"
- android:title="@string/cache_menu_navigate">
- </item>
- <item
- android:id="@+id/menu_calendar"
- android:icon="@drawable/ic_menu_agenda"
- android:title="@string/cache_menu_event">
+ android:title="@string/cache_menu_navigate"
+ app:showAsAction="ifRoom">
</item>
<item
android:id="@+id/menu_log_visit_offline"
android:icon="@drawable/ic_menu_edit"
- android:title="@string/cache_menu_visit_offline">
+ android:title="@string/cache_menu_visit_offline"
+ app:showAsAction="ifRoom">
</item>
<item
android:id="@+id/menu_log_visit"
android:icon="@drawable/ic_menu_edit"
- android:title="@string/cache_menu_visit">
+ android:title="@string/cache_menu_visit"
+ app:showAsAction="ifRoom">
+ </item>
+ <item
+ android:id="@+id/menu_calendar"
+ android:icon="@drawable/ic_menu_my_calendar"
+ android:title="@string/cache_menu_event"
+ app:showAsAction="ifRoom">
</item>
<item
android:id="@+id/menu_caches_around"
android:icon="@drawable/ic_menu_rotate"
- android:title="@string/cache_menu_around">
+ android:title="@string/cache_menu_around"
+ app:showAsAction="ifRoom">
</item>
<item
android:id="@+id/menu_show_in_browser"
android:icon="@drawable/ic_menu_info_details"
- android:title="@string/cache_menu_browser">
+ android:title="@string/cache_menu_browser"
+ app:showAsAction="ifRoom">
+ </item>
+ <item
+ android:id="@+id/menu_store"
+ android:icon="@drawable/ic_menu_save"
+ android:title="@string/cache_offline_store"
+ android:visible="false"
+ app:showAsAction="ifRoom">
+ </item>
+ <item
+ android:id="@+id/menu_refresh"
+ android:icon="@drawable/ic_menu_refresh"
+ android:title="@string/cache_offline_refresh"
+ android:visible="false"
+ app:showAsAction="ifRoom">
+ </item>
+ <item
+ android:id="@+id/menu_delete"
+ android:icon="@drawable/ic_menu_delete"
+ android:title="@string/cache_offline_drop"
+ android:visible="false"
+ app:showAsAction="ifRoom">
</item>
<item
android:id="@+id/menu_share"
android:icon="@drawable/ic_menu_share"
- android:title="@string/cache_menu_share">
+ android:title="@string/cache_menu_share"
+ app:actionProviderClass="android.support.v7.widget.ShareActionProvider"
+ app:showAsAction="ifRoom">
</item>
-
+
</menu> \ No newline at end of file