summaryrefslogtreecommitdiff
path: root/app/src/main/res/layout/custom_toast.xml
blob: c267fb86580e1f55eb796aae35414ce7ce8926d6 (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
<?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"
        />
    <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>