DisplayNone-front/app/src/main/res/layout/fragment_init.xml

35 lines
1.5 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
xmlns:tools="http://schemas.android.com/tools">
<LinearLayout
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent">
<ImageView
android:layout_width="250dp"
android:layout_gravity="center"
android:layout_margin="10dp"
android:layout_height="250dp"
android:src="@drawable/lost_connection"/>
<TextView
android:id="@+id/error"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center"
android:textSize="24sp"
android:layout_margin="15dp"
android:letterSpacing="0.05"
android:background="?android:attr/colorBackground"
android:textColor="?attr/colorOnBackground"
tools:text="@string/noInternet"
tools:ignore="MissingConstraints" />
<ImageView
android:layout_width="250dp"
android:layout_gravity="center"
android:layout_margin="10dp"
android:layout_height="250dp"
android:src="@drawable/dinosaur"/>
</LinearLayout>
</androidx.constraintlayout.widget.ConstraintLayout>