mirror of
https://github.com/libre-tube/LibreTube.git
synced 2024-12-15 14:50:30 +05:30
67 lines
2.5 KiB
XML
67 lines
2.5 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<FrameLayout 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="32dp"
|
|
android:layout_height="32dp"
|
|
android:layout_gravity="end"
|
|
android:layout_margin="16dp"
|
|
android:background="?attr/selectableItemBackgroundBorderless"
|
|
android:padding="3dp"
|
|
android:src="@drawable/ic_settings" />
|
|
|
|
<LinearLayout
|
|
android:id="@+id/middle"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center"
|
|
android:orientation="vertical">
|
|
|
|
<ImageView
|
|
android:id="@+id/noInternet_imageView"
|
|
android:layout_width="200dp"
|
|
android:layout_height="200dp"
|
|
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" />
|
|
|
|
<com.google.android.material.button.MaterialButton
|
|
android:id="@+id/retry_button"
|
|
style="@style/ThemeOverlay.Material3.Button.ElevatedButton"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center"
|
|
android:layout_marginTop="10dp"
|
|
android:text="@string/retry"
|
|
android:textColor="?android:attr/colorBackground"
|
|
app:elevation="20dp" />
|
|
|
|
<com.google.android.material.button.MaterialButton
|
|
android:id="@+id/downloads"
|
|
style="@style/ThemeOverlay.Material3.Button.ElevatedButton"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center"
|
|
android:layout_marginTop="5dp"
|
|
android:text="@string/downloads"
|
|
android:textColor="?android:attr/colorBackground"
|
|
app:elevation="20dp" />
|
|
|
|
</LinearLayout>
|
|
|
|
<FrameLayout
|
|
android:id="@+id/noInternet_container"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:elevation="20dp"
|
|
android:paddingTop="10dp" />
|
|
|
|
</FrameLayout> |