mirror of
https://github.com/libre-tube/LibreTube.git
synced 2024-12-15 23:00:31 +05:30
49 lines
2.0 KiB
XML
49 lines
2.0 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
|
|
<ImageView
|
|
android:id="@+id/noInternet_settingsImageView"
|
|
android:layout_width="33dp"
|
|
android:layout_height="33dp"
|
|
android:layout_margin="16dp"
|
|
android:background="?attr/selectableItemBackgroundBorderless"
|
|
android:padding="3dp"
|
|
android:src="@drawable/ic_settings"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
<ImageView
|
|
android:id="@+id/noInternet_imageView"
|
|
android:layout_width="200dp"
|
|
android:layout_height="200dp"
|
|
android:layout_marginTop="-50dp"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
app:srcCompat="@drawable/ic_no_wifi" />
|
|
|
|
<TextView
|
|
android:id="@+id/noInternet_textView"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/noInternet"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toBottomOf="@+id/noInternet_imageView" />
|
|
|
|
<Button
|
|
android:id="@+id/retry_button"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="10dp"
|
|
android:text="@string/retry"
|
|
android:textColor="?android:attr/colorBackground"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toBottomOf="@+id/noInternet_textView" />
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout> |