aboutsummaryrefslogtreecommitdiff
path: root/res
diff options
context:
space:
mode:
authorChristopher Baines <cbaines8@gmail.com>2012-03-01 10:34:16 +0000
committerChristopher Baines <cbaines8@gmail.com>2012-03-01 10:34:16 +0000
commitfc2b0ff3aefea51227894804cbcde97d55b79f30 (patch)
tree96ac783b9c8824af74fee5f69d7bf1cb092479c4 /res
parentff96598874103eb2141f01b8b9ace300dfd3ab45 (diff)
downloadsouthamptonuniversitymap-fc2b0ff3aefea51227894804cbcde97d55b79f30.tar
southamptonuniversitymap-fc2b0ff3aefea51227894804cbcde97d55b79f30.tar.gz
Better toasts implemented.
Diffstat (limited to 'res')
-rw-r--r--res/layout/toast_view.xml28
-rw-r--r--res/values/strings.xml2
2 files changed, 24 insertions, 6 deletions
diff --git a/res/layout/toast_view.xml b/res/layout/toast_view.xml
index fab39b6..6431e6b 100644
--- a/res/layout/toast_view.xml
+++ b/res/layout/toast_view.xml
@@ -1,7 +1,25 @@
<?xml version="1.0" encoding="utf-8"?>
-<TextView xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="fill_parent"
- android:layout_height="fill_parent"
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@+id/toastViewLinearLayout"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
android:background="#000000"
- android:gravity="center_vertical|center_horizontal"
- android:padding="10dp" />
+ android:gravity="center_horizontal"
+ android:orientation="vertical"
+ android:padding="10dp" >
+
+ <TextView
+ android:id="@+id/toastViewText"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ android:gravity="center_vertical|center_horizontal"
+ android:textAppearance="?android:attr/textAppearanceMedium" />
+
+ <TextView
+ android:id="@+id/toastViewSubMessage"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ android:gravity="center_vertical|center_horizontal"
+ android:textAppearance="?android:attr/textAppearanceSmall" />
+
+</LinearLayout> \ No newline at end of file
diff --git a/res/values/strings.xml b/res/values/strings.xml
index 3b57955..34ee0c5 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -132,6 +132,6 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.<
<string name="about_donate">Donate</string>
<string name="about_donate_summary">Make a personal donation to the developer through Bitcoin.</string>
<string name="buildingImageDescription">Image of the Building</string>
- <string name="map_activity_toast_help_message">Double tap the map icons for more info</string>
+ <string name="map_activity_toast_help_message">Double tap for more info</string>
</resources> \ No newline at end of file