diff options
Diffstat (limited to 'app/src/main/res/layout')
-rw-r--r-- | app/src/main/res/layout/custom_toast.xml | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/app/src/main/res/layout/custom_toast.xml b/app/src/main/res/layout/custom_toast.xml new file mode 100644 index 00000000..70a9df8c --- /dev/null +++ b/app/src/main/res/layout/custom_toast.xml @@ -0,0 +1,24 @@ +<?xml version="1.0" encoding="utf-8"?> +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:tools="http://schemas.android.com/tools" + android:id="@+id/custom_toast_container" + android:orientation="horizontal" + android:layout_width="fill_parent" + android:layout_height="fill_parent" + android:padding="16dp" + android:background="@drawable/cust_toast_background"> + <ImageView android:src="@drawable/retry" + android:layout_width="24dp" + android:layout_height="24dp" + android:layout_marginRight="8dp" + android:layout_gravity="center" + /> + <TextView android:id="@+id/text" + android:textAppearance="@style/Base.TextAppearance.AppCompat.Medium" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:textColor="#000000" + android:layout_gravity="center" + tools:text="Could not connect to gateway XYZ (161.161.161.161). Trying different Gateway." + /> +</LinearLayout>
\ No newline at end of file |