commit
e8afb4a818
@ -1,5 +0,0 @@ |
|||||||
package io.legado.app.model.rss |
|
||||||
|
|
||||||
import io.legado.app.data.entities.RssArticle |
|
||||||
|
|
||||||
data class Result(val articles: MutableList<RssArticle>, val nextPageUrl: String?) |
|
@ -0,0 +1,5 @@ |
|||||||
|
package io.legado.app.model.rss |
||||||
|
|
||||||
|
import io.legado.app.data.entities.RssArticle |
||||||
|
|
||||||
|
data class RssResult(val articles: MutableList<RssArticle>, val nextPageUrl: String?) |
@ -1,63 +1,67 @@ |
|||||||
<?xml version="1.0" encoding="utf-8"?> |
<?xml version="1.0" encoding="utf-8"?> |
||||||
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" |
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
||||||
xmlns:app="http://schemas.android.com/apk/res-auto" |
xmlns:app="http://schemas.android.com/apk/res-auto" |
||||||
xmlns:tools="http://schemas.android.com/tools" |
xmlns:tools="http://schemas.android.com/tools" |
||||||
android:layout_width="match_parent" |
android:layout_width="match_parent" |
||||||
android:layout_height="wrap_content" |
android:layout_height="wrap_content" |
||||||
|
android:orientation="vertical" |
||||||
android:paddingTop="8dp" |
android:paddingTop="8dp" |
||||||
android:paddingRight="8dp" |
|
||||||
android:paddingLeft="8dp" |
android:paddingLeft="8dp" |
||||||
android:paddingBottom="4dp"> |
android:paddingRight="8dp"> |
||||||
|
|
||||||
<io.legado.app.ui.widget.image.CoverImageView |
<androidx.constraintlayout.widget.ConstraintLayout |
||||||
android:id="@+id/iv_cover" |
|
||||||
android:layout_width="match_parent" |
android:layout_width="match_parent" |
||||||
android:layout_height="wrap_content" |
android:layout_height="wrap_content"> |
||||||
android:layout_margin="8dp" |
|
||||||
android:scaleType="centerCrop" |
<io.legado.app.ui.widget.image.CoverImageView |
||||||
android:src="@drawable/image_cover_default" |
android:id="@+id/iv_cover" |
||||||
android:transitionName="img_cover" |
android:layout_width="match_parent" |
||||||
app:layout_constraintTop_toTopOf="parent" |
android:layout_height="wrap_content" |
||||||
tools:ignore="UnusedAttribute" /> |
android:layout_margin="8dp" |
||||||
|
android:scaleType="centerCrop" |
||||||
<io.legado.app.ui.widget.text.BadgeView |
android:src="@drawable/image_cover_default" |
||||||
android:id="@+id/bv_unread" |
android:transitionName="img_cover" |
||||||
android:layout_width="wrap_content" |
app:layout_constraintTop_toTopOf="parent" |
||||||
android:layout_height="wrap_content" |
tools:ignore="UnusedAttribute" /> |
||||||
android:layout_gravity="right" |
|
||||||
android:includeFontPadding="false" |
<io.legado.app.ui.widget.text.BadgeView |
||||||
app:layout_constraintTop_toTopOf="parent" |
android:id="@+id/bv_unread" |
||||||
app:layout_constraintRight_toRightOf="parent" |
android:layout_width="wrap_content" |
||||||
tools:ignore="RtlHardcoded" /> |
android:layout_height="wrap_content" |
||||||
|
android:layout_gravity="right" |
||||||
<io.legado.app.ui.widget.anima.RotateLoading |
android:includeFontPadding="false" |
||||||
android:id="@+id/rl_loading" |
app:layout_constraintRight_toRightOf="parent" |
||||||
android:layout_width="22dp" |
app:layout_constraintTop_toTopOf="parent" |
||||||
android:layout_height="22dp" |
tools:ignore="RtlHardcoded" /> |
||||||
android:layout_gravity="right" |
|
||||||
android:visibility="invisible" |
<io.legado.app.ui.widget.anima.RotateLoading |
||||||
app:layout_constraintTop_toTopOf="parent" |
android:id="@+id/rl_loading" |
||||||
app:layout_constraintRight_toRightOf="parent" |
android:layout_width="22dp" |
||||||
app:loading_width="2dp" |
android:layout_height="22dp" |
||||||
app:hide_mode="invisible" |
android:layout_gravity="right" |
||||||
tools:ignore="RtlHardcoded" /> |
android:visibility="invisible" |
||||||
|
app:hide_mode="invisible" |
||||||
|
app:layout_constraintRight_toRightOf="parent" |
||||||
|
app:layout_constraintTop_toTopOf="parent" |
||||||
|
app:loading_width="2dp" |
||||||
|
tools:ignore="RtlHardcoded" /> |
||||||
|
|
||||||
|
</androidx.constraintlayout.widget.ConstraintLayout> |
||||||
|
|
||||||
<TextView |
<TextView |
||||||
android:id="@+id/tv_name" |
android:id="@+id/tv_name" |
||||||
android:layout_width="0dp" |
android:layout_width="match_parent" |
||||||
android:layout_height="wrap_content" |
android:layout_height="wrap_content" |
||||||
android:paddingLeft="4dp" |
android:layout_marginTop="6dp" |
||||||
android:paddingRight="4dp" |
android:ellipsize="end" |
||||||
android:includeFontPadding="false" |
|
||||||
android:gravity="top|center_horizontal" |
android:gravity="top|center_horizontal" |
||||||
|
android:includeFontPadding="false" |
||||||
android:lines="2" |
android:lines="2" |
||||||
android:ellipsize="end" |
|
||||||
android:text="@string/book_name" |
android:text="@string/book_name" |
||||||
android:textColor="@color/primaryText" |
android:textColor="@color/primaryText" |
||||||
android:textSize="12sp" |
android:textSize="12sp" |
||||||
app:layout_constraintLeft_toLeftOf="@+id/iv_cover" |
|
||||||
app:layout_constraintRight_toRightOf="@+id/iv_cover" |
|
||||||
app:layout_constraintTop_toBottomOf="@+id/iv_cover" |
|
||||||
tools:ignore="RtlHardcoded,RtlSymmetry" /> |
tools:ignore="RtlHardcoded,RtlSymmetry" /> |
||||||
|
|
||||||
</androidx.constraintlayout.widget.ConstraintLayout> |
</LinearLayout> |
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in new issue