44 lines
No EOL
1.6 KiB
XML
44 lines
No EOL
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:orientation="vertical"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:padding="13dp">
|
|
|
|
<TextView
|
|
android:id="@+id/titleTextView"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/select_a_channel"
|
|
android:textAppearance="?android:attr/textAppearanceLarge"
|
|
android:layout_marginLeft="10dp"
|
|
android:layout_marginStart="10dp"
|
|
android:layout_marginTop="5dp"
|
|
android:layout_marginRight="5dp"
|
|
android:layout_marginEnd="5dp"
|
|
android:layout_marginBottom="10dp"/>
|
|
|
|
<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:textAppearance="?android:attr/textAppearanceListItem"
|
|
android:text="@string/no_channel_subscribed_yet"
|
|
android:layout_margin="10dp"/>
|
|
|
|
<ProgressBar
|
|
android:id="@+id/progressBar"
|
|
style="?android:attr/progressBarStyle"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_margin="5dp"/>
|
|
</LinearLayout> |