aboutsummaryrefslogtreecommitdiff
path: root/res
diff options
context:
space:
mode:
authorChristopher Baines <cbaines8@gmail.com>2012-03-08 22:03:48 +0000
committerChristopher Baines <cbaines8@gmail.com>2012-03-08 22:03:48 +0000
commitac9a84e8bb5dc43a5d72840eaa325c5e99ac610a (patch)
treeb622d312d258e90f6f017ee282783c98294e2423 /res
parent26f11938b2467d6033ade06af57dc678dc3401cd (diff)
downloadsouthamptonuniversitymap-ac9a84e8bb5dc43a5d72840eaa325c5e99ac610a.tar
southamptonuniversitymap-ac9a84e8bb5dc43a5d72840eaa325c5e99ac610a.tar.gz
Beginings of a welcome dialog, and overlay improvements.
Diffstat (limited to 'res')
-rw-r--r--res/layout/welcome_dialog.xml52
-rw-r--r--res/values/strings.xml72
2 files changed, 99 insertions, 25 deletions
diff --git a/res/layout/welcome_dialog.xml b/res/layout/welcome_dialog.xml
new file mode 100644
index 0000000..49b7c27
--- /dev/null
+++ b/res/layout/welcome_dialog.xml
@@ -0,0 +1,52 @@
+<?xml version="1.0" encoding="utf-8"?>
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@+id/layout_root"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ android:orientation="vertical"
+ android:padding="2dp" >
+
+ <LinearLayout
+ android:id="@+id/linearLayout1"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_alignParentBottom="true"
+ android:layout_alignParentLeft="true"
+ android:gravity="center"
+ android:orientation="horizontal" >
+
+ <Button
+ android:id="@+id/welcomeDialogButton"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="@string/welcome_dialog_button_text" />
+ </LinearLayout>
+
+ <TextView
+ android:id="@+id/textView3"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_alignParentLeft="true"
+ android:layout_below="@+id/textView4"
+ android:text="@string/welcome_dialog_version"
+ android:textAppearance="?android:attr/textAppearanceMedium" />
+
+ <TextView
+ android:id="@+id/textView4"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_alignParentLeft="true"
+ android:text="@string/welcome_dialog_copyright"
+ android:textAppearance="?android:attr/textAppearanceMedium" />
+
+ <TextView
+ android:id="@+id/textView2"
+ android:layout_width="match_parent"
+ android:layout_height="305dp"
+ android:layout_above="@+id/linearLayout1"
+ android:layout_alignParentLeft="true"
+ android:layout_below="@+id/textView3"
+ android:scrollbars="vertical"
+ android:text="@string/welcome_dialog_install_message" />
+
+</RelativeLayout> \ No newline at end of file
diff --git a/res/values/strings.xml b/res/values/strings.xml
index d9932e9..b61609b 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -1,23 +1,56 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
- <string name="menu_find">Find</string>
- <string name="menu_preferences">Preferences</string>
- <string name="menu_view">View</string>
- <string name="menu_find_my_location">Find my Location</string>
<string name="app_name">Southampton University Map</string>
- <string name="legal_message">Southampton University Map comes with ABSOLUTELY NO WARRANTY; do not rely on the data or functionality provided by this application. This is free software, and you are welcome to redistribute it under certain conditions; expand the Licence item above for more details.</string>
- <string name="building_residential">Residential Building</string>
- <string name="building_non_residential">Non-Residential Building</string>
- <string name="pref_bus_stop">Bus Stops</string>
+
+ <!-- General -->
<string name="U1">U1</string>
<string name="U1N">U1N</string>
<string name="U2">U2</string>
<string name="U6">U6</string>
<string name="U9">U9</string>
+
+ <!-- Map Activity -->
+ <string name="menu_find">Find</string>
+ <string name="menu_preferences">Preferences</string>
+ <string name="menu_view">View</string>
+ <string name="menu_find_my_location">Find my Location</string>
+ <string name="pref_bus_stop">Bus Stops</string>
<string name="menu_about">About</string>
<string name="menu_favourites">Favourites</string>
- <string name="favourites_dialog_title">Favourites</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
+ &#8226; New Search\n
+ &#8226; Other\n
+
+\nThis 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; either version 2
+of the License, or (at your option) any later version.\n
+
+\nThis 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.</string>
+ <string name="welcome_dialog_install_message">
+Welcome to the Southampton University Map App. Noteable features include\:\n
+ &#8226; Search for Buildings\n
+ &#8226; 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
+as published by the Free Software Foundation; either version 2
+of the License, or (at your option) any later version.\n
+
+\nThis 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.</string>
<!-- Help Messages -->
<string name="map_help_message">You can drag the map to move it, you can use pinch motions to zoom in and out, this can also be done with the buttons at the bottom of the screen. Taping the building markers will show you there full name, and tapping the bus stop markers will show the live times at that stop. Presing and holding a marker, will add the item to the favourites list.</string>
@@ -27,28 +60,13 @@
<string name="view_help_message">Use the options in the View dialog to enable and disable the map elements.</string>
<string name="about_help_message">The About screen displays the help messages and also the contact details of the developer. You also have the option of making a Bitcoin donation using the Donate button at the bottom. WARNING, the donation address is not private as it is hardcoded in to the app.</string>
<string name="favourites_help_message">The favourites dialog includes a list of buildings or bus stops marked as favourites, this is meant to allow for easier access to frequently used locations.</string>
- <string name="licence_help_message">Southampton University Map App Copyright © 2011 Christopher Baines\n
-\n
-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; either version 2
-of the License, or (at your option) any later version.\n
-\n
-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.\n
-\n
-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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.</string>
<string name="credits_help_message">Data: Map Icons: From the "Map Icons Collection" (http://mapicons.nicolasmollet.com). Map Tiles: From the Mapnik project, through the OSMDroid libary. Database: Using the ORMLite libary.</string>
<string name="donate_button">Donate</string>
<string name="bitcoin_error_message">You appear to have no bitcoin client installed, or at least none that listen for bitcoin uri\'s. Either install such a client, or just send coins via any method from any device to the address below.</string>
<string name="preferences">Preferences</string>
<string name="favourites_dialog_message">No Favourite\'s. To add a building or bus stop to the favourites list, just press and hold it on the map.</string>
- <!-- View Strings -->
+ <!-- View Dialog -->
<string-array name="uniLinkBusRoutes">
<item>U1</item>
<item>U1N</item>
@@ -147,4 +165,8 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.<
<string name="bus_activity_destination_label">Destination:\u0020</string>
<string name="bus_activity_no_destination_message">No given destination</string>
+ <!-- Favourites Dialog -->
+ <string name="favourites_dialog_title">Favourites</string>
+ <string name="welcome_dialog_button_text">Continue</string>
+
</resources> \ No newline at end of file