aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/menu/main.xml
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2015-01-04 11:12:12 +0100
committerTrygve Laugstøl <trygvis@inamo.no>2015-01-04 11:12:12 +0100
commit1b9a4defe73f3aa8c10aa4af49002f0cebd1c292 (patch)
tree3a6b5bdae9eb6e35fd024bb5d3f7da6dbd2b0732 /app/src/main/res/menu/main.xml
parente8a052fd2c03b399550b6c9be3199d35fdd47f10 (diff)
downloadio.trygvis.soilmoisture-android-1b9a4defe73f3aa8c10aa4af49002f0cebd1c292.tar.gz
io.trygvis.soilmoisture-android-1b9a4defe73f3aa8c10aa4af49002f0cebd1c292.tar.bz2
io.trygvis.soilmoisture-android-1b9a4defe73f3aa8c10aa4af49002f0cebd1c292.tar.xz
io.trygvis.soilmoisture-android-1b9a4defe73f3aa8c10aa4af49002f0cebd1c292.zip
o Adding SoilMonitors support in core and view. Still more to do.
Diffstat (limited to 'app/src/main/res/menu/main.xml')
-rw-r--r--app/src/main/res/menu/main.xml37
1 files changed, 20 insertions, 17 deletions
diff --git a/app/src/main/res/menu/main.xml b/app/src/main/res/menu/main.xml
index 08b604e..2272040 100644
--- a/app/src/main/res/menu/main.xml
+++ b/app/src/main/res/menu/main.xml
@@ -1,29 +1,32 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- Copyright (C) 2013 The Android Open Source Project
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
--->
<menu xmlns:android="http://schemas.android.com/apk/res/android">
<item android:id="@+id/menu_refresh"
android:checkable="false"
android:orderInCategory="1"
android:showAsAction="ifRoom"/>
- <item android:id="@+id/menu_scan"
+
+ <item
+ android:id="@+id/menu_scan"
android:title="@string/menu_scan"
android:orderInCategory="100"
android:showAsAction="ifRoom|withText"/>
- <item android:id="@+id/menu_stop"
+
+ <item
+ android:id="@+id/menu_stop"
android:title="@string/menu_stop"
android:orderInCategory="101"
android:showAsAction="ifRoom|withText"/>
-</menu> \ No newline at end of file
+
+ <item
+ android:id="@+id/menu_group_by_device"
+ android:title="@string/group_by_device"
+ android:orderInCategory="140"
+ android:checkable="true"/>
+
+ <item
+ android:id="@+id/menu_show_all"
+ android:title="@string/show_all"
+ android:orderInCategory="150"
+ android:checkable="true"/>
+
+</menu>