diff options
Diffstat (limited to 'res')
-rw-r--r-- | res/values/strings.xml | 15 | ||||
-rw-r--r-- | res/xml/searchable.xml | 13 |
2 files changed, 20 insertions, 8 deletions
diff --git a/res/values/strings.xml b/res/values/strings.xml index b61609b..1009d3f 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -18,15 +18,15 @@ <string name="pref_bus_stop">Bus Stops</string> <string name="menu_about">About</string> <string name="menu_favourites">Favourites</string> + <string name="map_activity_search_hint">Search for buildings, and bus stops</string> <!-- Welcome Dialog --> <string name="welcome_dialog_title">Southampton University Map App</string> <string name="welcome_dialog_version">Version 0.7 (alpha)</string> <string name="welcome_dialog_copyright">© 2011 Christopher Baines</string> - <string name="welcome_dialog_upgrade_message"> -Thanks for upgrading this app, and it\'s hoped that its better for you than the previous version. Noteable changes include\:\n - • New Search\n - • Other\n + <string name="welcome_dialog_upgrade_message">Thanks for upgrading this app, and it\'s hoped that its better for you than the previous version. Noteable changes include\:\n + • New Search\n + • Other\n \nThis program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License @@ -37,10 +37,9 @@ of the License, or (at your option) any later version.\n 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.</string> - <string name="welcome_dialog_install_message"> -Welcome to the Southampton University Map App. Noteable features include\:\n - • Search for Buildings\n - • Get Live Bus Times\n + <string name="welcome_dialog_install_message">Welcome to the Southampton University Map App. Noteable features include\:\n + • Search for Buildings\n + • Get Live Bus Times\n \nThis program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License diff --git a/res/xml/searchable.xml b/res/xml/searchable.xml new file mode 100644 index 0000000..7262b3d --- /dev/null +++ b/res/xml/searchable.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="utf-8"?> +<searchable xmlns:android="http://schemas.android.com/apk/res/android" + android:hint="@string/map_activity_search_hint" + android:includeInGlobalSearch="true" + android:label="@string/app_name" + android:searchSettingsDescription="@string/map_activity_search_hint" + android:searchSuggestAuthority="net.cbaines.suma.provider" + android:searchSuggestIntentAction="android.intent.action.VIEW" + android:searchSuggestIntentData="content://net.cbaines.suma.provider/building" + android:searchSuggestSelection=" ?" + android:searchSuggestThreshold="1" > + +</searchable>
\ No newline at end of file |