summaryrefslogtreecommitdiff
path: root/app/src/main/res/layout/custom_toast.xml
blob: b333a9b0ae8bf7bc0ed76be61e60cf83526535ea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<?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"
    tools:viewBindingIgnore="true"
    >
    <ImageView android:src="@drawable/retry"
        android:layout_width="24dp"
        android:layout_height="24dp"
        android:layout_marginRight="8dp"
        android:layout_gravity="center"
        />
    <androidx.appcompat.widget.AppCompatTextView 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>