diff options
Diffstat (limited to 'res/layout/toast_view.xml')
-rw-r--r-- | res/layout/toast_view.xml | 28 |
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 |