2019-11-24 16:38:06 +01:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
2021-09-04 19:32:38 +02:00
|
|
|
<org.schabi.newpipe.views.NewPipeTextView
|
2019-11-24 16:38:06 +01:00
|
|
|
android:id="@+id/instanceHelpTV"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_margin="15dp"
|
|
|
|
android:autoLink="web"
|
2020-10-09 20:24:02 +02:00
|
|
|
android:text="@string/peertube_instance_url_help" />
|
2019-11-24 16:38:06 +01:00
|
|
|
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
|
|
android:id="@+id/instances"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
2020-10-09 20:24:02 +02:00
|
|
|
android:layout_below="@id/instanceHelpTV"
|
2019-11-24 16:38:06 +01:00
|
|
|
tools:listitem="@layout/item_instance" />
|
|
|
|
|
|
|
|
<!-- LOADING INDICATOR-->
|
|
|
|
<ProgressBar
|
|
|
|
android:id="@+id/loading_progress_bar"
|
|
|
|
style="@style/Widget.AppCompat.ProgressBar"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_centerInParent="true"
|
|
|
|
android:indeterminate="true"
|
|
|
|
android:visibility="gone"
|
|
|
|
tools:visibility="visible" />
|
|
|
|
|
|
|
|
<com.google.android.material.floatingactionbutton.FloatingActionButton
|
|
|
|
android:id="@+id/addInstanceButton"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_alignParentEnd="true"
|
|
|
|
android:layout_alignParentRight="true"
|
|
|
|
android:layout_alignParentBottom="true"
|
|
|
|
android:layout_marginEnd="16dp"
|
|
|
|
android:layout_marginRight="16dp"
|
|
|
|
android:layout_marginBottom="16dp"
|
|
|
|
android:clickable="true"
|
|
|
|
android:focusable="true"
|
|
|
|
app:backgroundTint="?attr/colorPrimary"
|
|
|
|
app:fabSize="auto"
|
2021-03-27 15:45:49 +01:00
|
|
|
app:srcCompat="@drawable/ic_add" />
|
2019-11-24 16:38:06 +01:00
|
|
|
|
2020-10-09 20:24:02 +02:00
|
|
|
</RelativeLayout>
|