aboutsummaryrefslogtreecommitdiff
path: root/res/layout/toast_view.xml
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/layout/toast_view.xml
parentff96598874103eb2141f01b8b9ace300dfd3ab45 (diff)
downloadsouthamptonuniversitymap-fc2b0ff3aefea51227894804cbcde97d55b79f30.tar
southamptonuniversitymap-fc2b0ff3aefea51227894804cbcde97d55b79f30.tar.gz
Better toasts implemented.
Diffstat (limited to 'res/layout/toast_view.xml')
-rw-r--r--res/layout/toast_view.xml28
1 files changed, 23 insertions, 5 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