pull/433/head
parent
8121fc7cc9
commit
39d824b9f1
@ -1,63 +1,67 @@ |
||||
<?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:tools="http://schemas.android.com/tools" |
||||
android:layout_width="match_parent" |
||||
android:layout_height="wrap_content" |
||||
android:paddingTop="8dp" |
||||
android:paddingRight="8dp" |
||||
android:paddingLeft="8dp" |
||||
android:paddingBottom="4dp"> |
||||
android:orientation="vertical" |
||||
android:padding="8dp"> |
||||
|
||||
<io.legado.app.ui.widget.image.CoverImageView |
||||
android:id="@+id/iv_cover" |
||||
<androidx.constraintlayout.widget.ConstraintLayout |
||||
android:layout_width="match_parent" |
||||
android:layout_height="wrap_content" |
||||
android:layout_margin="8dp" |
||||
android:scaleType="centerCrop" |
||||
android:src="@drawable/image_cover_default" |
||||
android:transitionName="img_cover" |
||||
app:layout_constraintTop_toTopOf="parent" |
||||
tools:ignore="UnusedAttribute" /> |
||||
|
||||
<io.legado.app.ui.widget.text.BadgeView |
||||
android:id="@+id/bv_unread" |
||||
android:layout_width="wrap_content" |
||||
android:layout_height="wrap_content" |
||||
android:layout_gravity="right" |
||||
android:includeFontPadding="false" |
||||
app:layout_constraintTop_toTopOf="parent" |
||||
app:layout_constraintRight_toRightOf="parent" |
||||
tools:ignore="RtlHardcoded" /> |
||||
|
||||
<io.legado.app.ui.widget.anima.RotateLoading |
||||
android:id="@+id/rl_loading" |
||||
android:layout_width="22dp" |
||||
android:layout_height="22dp" |
||||
android:layout_gravity="right" |
||||
android:visibility="invisible" |
||||
app:layout_constraintTop_toTopOf="parent" |
||||
app:layout_constraintRight_toRightOf="parent" |
||||
app:loading_width="2dp" |
||||
app:hide_mode="invisible" |
||||
tools:ignore="RtlHardcoded" /> |
||||
android:layout_height="wrap_content"> |
||||
|
||||
<io.legado.app.ui.widget.image.CoverImageView |
||||
android:id="@+id/iv_cover" |
||||
android:layout_width="match_parent" |
||||
android:layout_height="wrap_content" |
||||
android:layout_margin="8dp" |
||||
android:scaleType="centerCrop" |
||||
android:src="@drawable/image_cover_default" |
||||
android:transitionName="img_cover" |
||||
app:layout_constraintTop_toTopOf="parent" |
||||
tools:ignore="UnusedAttribute" /> |
||||
|
||||
<io.legado.app.ui.widget.text.BadgeView |
||||
android:id="@+id/bv_unread" |
||||
android:layout_width="wrap_content" |
||||
android:layout_height="wrap_content" |
||||
android:layout_gravity="right" |
||||
android:includeFontPadding="false" |
||||
app:layout_constraintRight_toRightOf="parent" |
||||
app:layout_constraintTop_toTopOf="parent" |
||||
tools:ignore="RtlHardcoded" /> |
||||
|
||||
<io.legado.app.ui.widget.anima.RotateLoading |
||||
android:id="@+id/rl_loading" |
||||
android:layout_width="22dp" |
||||
android:layout_height="22dp" |
||||
android:layout_gravity="right" |
||||
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 |
||||
android:id="@+id/tv_name" |
||||
android:layout_width="0dp" |
||||
android:layout_width="match_parent" |
||||
android:layout_height="wrap_content" |
||||
android:paddingLeft="4dp" |
||||
android:paddingRight="4dp" |
||||
android:includeFontPadding="false" |
||||
android:layout_marginTop="8dp" |
||||
android:ellipsize="end" |
||||
android:gravity="top|center_horizontal" |
||||
android:includeFontPadding="false" |
||||
android:lines="2" |
||||
android:ellipsize="end" |
||||
android:paddingLeft="4dp" |
||||
android:paddingRight="4dp" |
||||
android:text="@string/book_name" |
||||
android:textColor="@color/primaryText" |
||||
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" /> |
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout> |
||||
</LinearLayout> |
||||
|
||||
|
||||
|
Loading…
Reference in new issue