summaryrefslogtreecommitdiff
path: root/app/src/main/res/layout/custom_toast.xml
diff options
context:
space:
mode:
authorcyBerta <cyberta@riseup.net>2018-12-07 16:50:41 +0100
committercyBerta <cyberta@riseup.net>2018-12-07 16:50:41 +0100
commit9b832c4386f0f839006df68dd75d98fc173344d0 (patch)
tree378cfcb2e03885f786f41ffb04aef0eaf0d971a3 /app/src/main/res/layout/custom_toast.xml
parent1f5095b59c93b04120a2e10f0b083b4f6846ca68 (diff)
first shot gatewayselection
Diffstat (limited to 'app/src/main/res/layout/custom_toast.xml')
-rw-r--r--app/src/main/res/layout/custom_toast.xml24
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