You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
1.7 KiB
41 lines
1.7 KiB
<?xml version="1.0" encoding="utf-8"?>
|
|
<androidx.constraintlayout.widget.ConstraintLayout 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">
|
|
|
|
<io.legado.app.ui.widget.TitleBar
|
|
android:id="@+id/title_bar"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
app:attachToActivity="false"
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
app:title="@string/rss" />
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
android:id="@+id/recycler_view"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="0dp"
|
|
app:layout_constraintTop_toBottomOf="@id/title_bar"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
app:layoutManager="androidx.recyclerview.widget.GridLayoutManager"
|
|
app:spanCount="4"
|
|
tools:listitem="@layout/item_rss" />
|
|
|
|
<TextView
|
|
android:id="@+id/tv_empty_msg"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_margin="16dp"
|
|
android:gravity="center"
|
|
android:visibility="gone"
|
|
android:text="@string/rss_source_empty"
|
|
app:layout_constraintTop_toBottomOf="@+id/title_bar"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
app:layout_constraintLeft_toLeftOf="parent"
|
|
app:layout_constraintRight_toRightOf="parent"
|
|
tools:text="TextView" />
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout> |