NewPipe/app/src/main/res/layout/select_channel_fragment.xml

44 lines
1.6 KiB
XML
Raw Normal View History

2017-09-26 15:29:38 +00:00
<?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"
2017-10-13 11:55:55 +00:00
android:layout_height="match_parent"
android:padding="13dp">
2017-09-26 15:29:38 +00:00
<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"
2017-10-13 11:55:55 +00:00
android:layout_marginEnd="5dp"
android:layout_marginBottom="10dp"/>
2017-09-26 15:29:38 +00:00
<android.support.v7.widget.RecyclerView
android:id="@+id/items_list"
android:layout_width="match_parent"
android:layout_height="wrap_content"
tools:listitem="@layout/select_channel_item">
</android.support.v7.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>