43 lines
1.6 KiB
XML
43 lines
1.6 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="vertical"
|
|
android:padding="13dp">
|
|
|
|
<TextView
|
|
android:id="@+id/titleTextView"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="10dp"
|
|
android:layout_marginLeft="10dp"
|
|
android:layout_marginTop="5dp"
|
|
android:layout_marginEnd="5dp"
|
|
android:layout_marginRight="5dp"
|
|
android:layout_marginBottom="10dp"
|
|
android:text="@string/select_a_channel"
|
|
android:textAppearance="?android:attr/textAppearanceLarge" />
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
android:id="@+id/items_list"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
tools:listitem="@layout/select_channel_item"></androidx.recyclerview.widget.RecyclerView>
|
|
|
|
|
|
<TextView
|
|
android:id="@+id/empty_state_view"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_margin="10dp"
|
|
android:text="@string/no_channel_subscribed_yet"
|
|
android:textAppearance="?android:attr/textAppearanceListItem" />
|
|
|
|
<ProgressBar
|
|
android:id="@+id/progressBar"
|
|
style="?android:attr/progressBarStyle"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_margin="5dp" />
|
|
</LinearLayout>
|