app/src/main/res/layout/disconnected_pop_up.xml
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="350dp"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:background="@color/colorPrimaryDark"
android:gravity="center"
android:orientation="vertical">
<TextView
android:id="@+id/errorDisconnectedText"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="8dp"
android:gravity="center"
android:text="@string/error"
android:textColor="@color/colorExitRed"
android:textSize="30sp" />
<TextView
android:id="@+id/colorText"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="8dp"
android:gravity="center"
android:includeFontPadding="false"
android:text="@string/you_have_been_disconnected"
android:textColor="@color/colorDrawYellow"
android:textSize="30sp" />
<Button
android:id="@+id/okDisconnectedButton"
android:layout_width="match_parent"
android:layout_height="50dp"
android:layout_marginStart="8dp"
android:layout_marginEnd="8dp"
android:layout_marginBottom="8dp"
android:layout_weight="1"
android:background="@color/colorLightGrey"
android:text="OK"
android:textColor="@color/colorPrimaryDark"
android:textSize="30sp"
android:textStyle="bold"
app:layout_constraintStart_toStartOf="parent" />
</LinearLayout>