2020-02-20 11:20:30 +01:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2020-02-20 15:25:41 +01:00
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2020-02-20 15:08:40 +01:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
2020-02-20 15:25:41 +01:00
|
|
|
android:layout_margin="@dimen/fab_margin"
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
2020-02-20 11:20:30 +01:00
|
|
|
<RelativeLayout
|
|
|
|
android:layout_width="match_parent"
|
2020-02-20 15:25:41 +01:00
|
|
|
android:layout_height="0dp"
|
|
|
|
android:layout_weight="1">
|
|
|
|
|
2020-02-20 15:08:40 +01:00
|
|
|
<ScrollView
|
|
|
|
android:id="@+id/scrolling_container"
|
2020-02-20 15:25:41 +01:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:orientation="vertical"
|
2020-04-10 17:25:19 +02:00
|
|
|
android:paddingBottom="50dp"
|
2020-02-20 15:25:41 +01:00
|
|
|
android:scrollbars="none">
|
|
|
|
|
2020-02-20 15:08:40 +01:00
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/instance_container"
|
2020-02-20 11:20:30 +01:00
|
|
|
android:layout_width="match_parent"
|
2020-02-20 15:25:41 +01:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="vertical"
|
|
|
|
android:visibility="gone">
|
|
|
|
|
2020-02-20 15:08:40 +01:00
|
|
|
<TextView
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2020-02-20 15:25:41 +01:00
|
|
|
android:text="@string/invidious_instances"
|
|
|
|
android:textColor="@color/colorAccent"
|
|
|
|
android:textSize="16sp" />
|
|
|
|
|
2020-02-20 15:08:40 +01:00
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
|
|
android:id="@+id/invidious_instances"
|
|
|
|
android:layout_width="match_parent"
|
2020-02-20 15:25:41 +01:00
|
|
|
android:layout_height="wrap_content" />
|
2020-02-20 11:20:30 +01:00
|
|
|
|
2020-02-20 15:08:40 +01:00
|
|
|
<TextView
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2020-02-20 15:25:41 +01:00
|
|
|
android:layout_marginTop="10dp"
|
|
|
|
android:text="@string/nitter_instances"
|
|
|
|
android:textColor="@color/colorAccent"
|
|
|
|
android:textSize="16sp" />
|
|
|
|
|
2020-02-20 15:08:40 +01:00
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
|
|
android:id="@+id/nitter_instances"
|
|
|
|
android:layout_width="match_parent"
|
2020-02-20 15:25:41 +01:00
|
|
|
android:layout_height="wrap_content" />
|
2020-02-20 11:20:30 +01:00
|
|
|
|
2020-02-20 15:08:40 +01:00
|
|
|
<TextView
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2020-02-20 15:25:41 +01:00
|
|
|
android:layout_marginTop="10dp"
|
|
|
|
android:text="@string/bibliogram_instances"
|
|
|
|
android:textColor="@color/colorAccent"
|
|
|
|
android:textSize="16sp" />
|
|
|
|
|
2020-02-20 15:08:40 +01:00
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
|
|
android:id="@+id/bibliogram_instances"
|
|
|
|
android:layout_width="match_parent"
|
2020-02-20 15:25:41 +01:00
|
|
|
android:layout_height="wrap_content" />
|
2020-02-20 15:08:40 +01:00
|
|
|
</LinearLayout>
|
|
|
|
</ScrollView>
|
2020-02-20 15:25:41 +01:00
|
|
|
|
2020-02-20 11:20:30 +01:00
|
|
|
<RelativeLayout
|
|
|
|
android:id="@+id/loader"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent">
|
2020-02-20 15:25:41 +01:00
|
|
|
|
2020-02-20 11:20:30 +01:00
|
|
|
<ProgressBar
|
|
|
|
android:layout_width="wrap_content"
|
2020-02-20 15:25:41 +01:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_centerInParent="true" />
|
2020-02-20 11:20:30 +01:00
|
|
|
</RelativeLayout>
|
|
|
|
</RelativeLayout>
|
2020-02-20 15:08:40 +01:00
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2020-04-03 12:33:16 +02:00
|
|
|
android:layout_marginTop="10dp"
|
2020-02-20 15:25:41 +01:00
|
|
|
android:gravity="center"
|
2020-02-20 15:08:40 +01:00
|
|
|
android:orientation="horizontal">
|
2020-02-20 15:25:41 +01:00
|
|
|
|
2020-03-01 10:42:01 +01:00
|
|
|
<ImageButton
|
|
|
|
android:id="@+id/instance_info"
|
|
|
|
style="@style/Widget.AppCompat.Button.Colored"
|
|
|
|
android:layout_width="50dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:contentDescription="@string/instance_info"
|
2020-04-03 12:33:16 +02:00
|
|
|
android:src="@drawable/ic_info_outline" />
|
|
|
|
|
2020-02-20 15:08:40 +01:00
|
|
|
<Button
|
|
|
|
android:id="@+id/latency_test"
|
|
|
|
style="@style/Widget.AppCompat.Button.Colored"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center"
|
2020-03-01 10:42:01 +01:00
|
|
|
android:layout_marginStart="5dp"
|
|
|
|
android:layout_marginLeft="5dp"
|
|
|
|
android:paddingStart="20dp"
|
|
|
|
android:paddingLeft="20dp"
|
|
|
|
android:paddingEnd="20dp"
|
|
|
|
android:paddingRight="20dp"
|
2020-02-20 15:08:40 +01:00
|
|
|
android:text="@string/latency"
|
|
|
|
android:textColor="@android:color/white" />
|
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/close"
|
|
|
|
style="@style/Widget.AppCompat.Button.Colored"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center"
|
2020-03-01 10:42:01 +01:00
|
|
|
android:layout_marginStart="5dp"
|
|
|
|
android:layout_marginLeft="5dp"
|
|
|
|
android:paddingStart="20dp"
|
|
|
|
android:paddingLeft="20dp"
|
|
|
|
android:paddingEnd="20dp"
|
|
|
|
android:paddingRight="20dp"
|
2020-02-20 15:08:40 +01:00
|
|
|
android:text="@string/close"
|
|
|
|
android:textColor="@android:color/white" />
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|