mirror of
https://github.com/libre-tube/LibreTube.git
synced 2024-12-16 07:10:29 +05:30
95 lines
3.5 KiB
XML
95 lines
3.5 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<ScrollView 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">
|
|
|
|
<LinearLayout xmlns:tools="http://schemas.android.com/tools"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="vertical">
|
|
|
|
<ImageView
|
|
android:id="@id/app_icon"
|
|
android:layout_width="120dp"
|
|
android:layout_height="120dp"
|
|
android:layout_gravity="center"
|
|
android:layout_marginTop="50dp"
|
|
android:layout_marginBottom="15dp"
|
|
android:src="@drawable/ic_launcher_lockscreen"
|
|
app:tint="?attr/colorSecondary"
|
|
tools:ignore="ContentDescription" />
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center"
|
|
android:layout_marginHorizontal="20dp"
|
|
android:layout_marginVertical="16dp"
|
|
android:text="@string/welcome"
|
|
android:textSize="18sp" />
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center"
|
|
android:layout_marginHorizontal="20dp"
|
|
android:text="@string/choose_instance_long" />
|
|
|
|
<FrameLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="0dp"
|
|
android:layout_marginVertical="10dp"
|
|
android:layout_weight="1">
|
|
|
|
<RelativeLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:animateLayoutChanges="true"
|
|
android:descendantFocusability="blocksDescendants">
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
android:id="@id/instances_recycler"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:fadeScrollbars="false"
|
|
android:nestedScrollingEnabled="false"
|
|
android:scrollbars="vertical" />
|
|
|
|
</RelativeLayout>
|
|
|
|
<ProgressBar
|
|
android:id="@id/progress"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center" />
|
|
|
|
</FrameLayout>
|
|
|
|
<FrameLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginHorizontal="15dp"
|
|
android:layout_marginTop="10dp"
|
|
android:layout_marginBottom="5dp">
|
|
|
|
<com.google.android.material.button.MaterialButton
|
|
android:id="@id/restore"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="start"
|
|
android:text="@string/restore" />
|
|
|
|
<com.google.android.material.button.MaterialButton
|
|
android:id="@id/okay"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="end"
|
|
android:alpha="0.5"
|
|
android:text="@string/okay" />
|
|
|
|
</FrameLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
</ScrollView> |