summaryrefslogtreecommitdiff
path: root/altosdroid/res/menu
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2015-05-28 01:05:18 -0700
committerKeith Packard <keithp@keithp.com>2015-05-28 01:07:25 -0700
commit85013045ca505096064aaf45c312b158d0263d2a (patch)
tree7ac9da1e5a8ceca582c91fe14add93df3ff56659 /altosdroid/res/menu
parentba698c2cc48677735046d0881df9c180674e4082 (diff)
altosdroid: Add map types and map preloading UIs
This adds an ugly dialog to select which maps to preload, and also adds the ability to display other map types. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'altosdroid/res/menu')
-rw-r--r--altosdroid/res/menu/option_menu.xml28
1 files changed, 18 insertions, 10 deletions
diff --git a/altosdroid/res/menu/option_menu.xml b/altosdroid/res/menu/option_menu.xml
index f005e881..2109ae04 100644
--- a/altosdroid/res/menu/option_menu.xml
+++ b/altosdroid/res/menu/option_menu.xml
@@ -1,17 +1,19 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- Copyright (C) 2009 The Android Open Source Project
+<!--
+ Copyright © 2015 Keith Packard <keithp@keithp.com>
- 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
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; version 2 of the License.
- http://www.apache.org/licenses/LICENSE-2.0
+ This program is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
- 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.
+ You should have received a copy of the GNU General Public License along
+ with this program; if not, write to the Free Software Foundation, Inc.,
+ 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
-->
<menu xmlns:android="http://schemas.android.com/apk/res/android">
<item android:id="@+id/connect_scan"
@@ -32,4 +34,10 @@
<item android:id="@+id/change_units"
android:icon="@android:drawable/ic_menu_view"
android:title="@string/change_units" />
+ <item android:id="@+id/preload_maps"
+ android:icon="@android:drawable/ic_menu_mapmode"
+ android:title="@string/preload_maps" />
+ <item android:id="@+id/map_type"
+ android:icon="@android:drawable/ic_menu_mapmode"
+ android:title="@string/map_type" />
</menu>