aboutsummaryrefslogtreecommitdiffstats
path: root/main/res/menu
diff options
context:
space:
mode:
authorBananeweizen <bananeweizen@gmx.de>2014-05-30 19:06:12 +0200
committerBananeweizen <bananeweizen@gmx.de>2014-05-30 19:06:12 +0200
commit4fd880046034efcb6934f10cc7ed587549c42779 (patch)
tree24ed84374280eedfc3d64fa3bd290478130e23d7 /main/res/menu
parentf4319d587dced0107dbf115b708f2bd3e7b66aea (diff)
downloadcgeo-4fd880046034efcb6934f10cc7ed587549c42779.zip
cgeo-4fd880046034efcb6934f10cc7ed587549c42779.tar.gz
cgeo-4fd880046034efcb6934f10cc7ed587549c42779.tar.bz2
#3903: move offline log buttons to action bar
Diffstat (limited to 'main/res/menu')
-rw-r--r--main/res/menu/abstract_logging_activity.xml20
1 files changed, 17 insertions, 3 deletions
diff --git a/main/res/menu/abstract_logging_activity.xml b/main/res/menu/abstract_logging_activity.xml
index 8ef0cf1..586b93e 100644
--- a/main/res/menu/abstract_logging_activity.xml
+++ b/main/res/menu/abstract_logging_activity.xml
@@ -1,13 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<menu xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:cgeo="http://schemas.android.com/apk/res-auto">
+ xmlns:cgeo="http://schemas.android.com/apk/res-auto" >
<item
android:id="@+id/menu_send"
+ android:enabled="true"
android:icon="@drawable/ic_menu_send"
android:title="@string/send"
- android:enabled="true"
- cgeo:showAsAction="ifRoom|withText"> <!-- enabled=true, we show a message if logging is not possible -->
+ cgeo:showAsAction="ifRoom|withText"> <!-- enabled=true, we show a message if logging is not possible -->
</item>
<item
android:id="@+id/menu_templates"
@@ -31,5 +31,19 @@
cgeo:showAsAction="ifRoom|withText">
<menu /> <!-- filled dynamically -->
</item>
+ <item
+ android:id="@+id/save"
+ android:icon="@drawable/ic_menu_save"
+ android:title="@string/log_save"
+ android:visible="false"
+ cgeo:showAsAction="ifRoom|withText">
+ </item>
+ <item
+ android:id="@+id/clear"
+ android:icon="@drawable/ic_menu_delete"
+ android:title="@string/log_clear"
+ android:visible="false"
+ cgeo:showAsAction="ifRoom|withText">
+ </item>
</menu> \ No newline at end of file