From 8d9881707c31de1da357081701a40fe013b0f2fa Mon Sep 17 00:00:00 2001 From: Bananeweizen Date: Sun, 1 Jun 2014 17:20:20 +0200 Subject: convert map settings to checkbox based menus This avoids the confusion that is always connected with label changing menu items (Is the label showing the current state or the state that I get when clicking?) --- main/res/menu/map_activity.xml | 59 +++++++++++++++++++++--------------------- 1 file changed, 30 insertions(+), 29 deletions(-) (limited to 'main/res/menu') diff --git a/main/res/menu/map_activity.xml b/main/res/menu/map_activity.xml index 8a41715..4c1dfd7 100644 --- a/main/res/menu/map_activity.xml +++ b/main/res/menu/map_activity.xml @@ -1,20 +1,18 @@ + xmlns:cgeo="http://schemas.android.com/apk/res-auto" > - - + android:title="@string/menu_centerposition" + cgeo:showAsAction="always"/> + android:title="@string/map_view_map" + cgeo:showAsAction="ifRoom|withText"> + android:title="@string/map_live_disable" + cgeo:showAsAction="ifRoom|withText"> + android:title="@string/caches_store_offline" + cgeo:showAsAction="ifRoom|withText"> + android:title="@string/map_modes" + cgeo:showAsAction="ifRoom|withText"> + android:title="@string/map_trail_show" + cgeo:showAsAction="ifRoom|withText"> + android:title="@string/map_circles_show" + cgeo:showAsAction="ifRoom|withText"> - - + android:id="@+id/menu_mycaches_mode" + android:checkable="true" + android:icon="@android:drawable/ic_menu_myplaces" + android:title="@string/map_mycaches_hide" + cgeo:showAsAction="ifRoom|withText"> + + -- cgit v1.1