|
|
|
@ -14,8 +14,8 @@ |
|
|
|
|
android:layout_width="60dp" |
|
|
|
|
android:layout_height="80dp" |
|
|
|
|
android:layout_marginStart="16dp" |
|
|
|
|
android:layout_marginTop="12dp" |
|
|
|
|
android:layout_marginBottom="8dp" |
|
|
|
|
android:layout_marginTop="16dp" |
|
|
|
|
android:layout_marginBottom="12dp" |
|
|
|
|
android:contentDescription="@string/img_cover" |
|
|
|
|
android:scaleType="centerCrop" |
|
|
|
|
android:src="@drawable/image_cover_default" |
|
|
|
@ -56,10 +56,11 @@ |
|
|
|
|
android:id="@+id/tv_name" |
|
|
|
|
android:layout_width="0dp" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:layout_marginLeft="8dp" |
|
|
|
|
android:layout_marginTop="8dp" |
|
|
|
|
android:layout_marginLeft="16dp" |
|
|
|
|
android:layout_marginTop="12dp" |
|
|
|
|
android:includeFontPadding="false" |
|
|
|
|
android:paddingLeft="4dp" |
|
|
|
|
android:paddingBottom="4dp" |
|
|
|
|
android:paddingLeft="2dp" |
|
|
|
|
android:singleLine="true" |
|
|
|
|
android:text="@string/book_name" |
|
|
|
|
android:textColor="@color/tv_text_default" |
|
|
|
@ -74,15 +75,14 @@ |
|
|
|
|
android:id="@+id/iv_author" |
|
|
|
|
android:layout_width="@dimen/desc_icon_size" |
|
|
|
|
android:layout_height="@dimen/desc_icon_size" |
|
|
|
|
android:layout_marginLeft="8dp" |
|
|
|
|
android:contentDescription="@string/author" |
|
|
|
|
android:paddingStart="2dp" |
|
|
|
|
android:paddingEnd="2dp" |
|
|
|
|
android:src="@drawable/ic_author" |
|
|
|
|
app:layout_constraintBottom_toBottomOf="@+id/tv_author" |
|
|
|
|
app:layout_constraintLeft_toRightOf="@+id/iv_cover" |
|
|
|
|
app:layout_constraintLeft_toLeftOf="@+id/tv_name" |
|
|
|
|
app:layout_constraintTop_toTopOf="@+id/tv_author" |
|
|
|
|
app:tint="@color/tv_text_secondary" |
|
|
|
|
app:tint="@color/tv_text_summary" |
|
|
|
|
tools:ignore="RtlHardcoded,RtlSymmetry" /> |
|
|
|
|
|
|
|
|
|
<TextView |
|
|
|
@ -93,7 +93,7 @@ |
|
|
|
|
android:maxLines="1" |
|
|
|
|
android:paddingEnd="6dp" |
|
|
|
|
android:text="@string/author" |
|
|
|
|
android:textColor="@color/tv_text_secondary" |
|
|
|
|
android:textColor="@color/tv_text_summary" |
|
|
|
|
android:textSize="13sp" |
|
|
|
|
app:layout_constraintBottom_toTopOf="@+id/tv_read" |
|
|
|
|
app:layout_constraintLeft_toRightOf="@+id/iv_author" |
|
|
|
@ -105,15 +105,14 @@ |
|
|
|
|
android:id="@+id/iv_read" |
|
|
|
|
android:layout_width="@dimen/desc_icon_size" |
|
|
|
|
android:layout_height="@dimen/desc_icon_size" |
|
|
|
|
android:layout_marginLeft="8dp" |
|
|
|
|
android:contentDescription="@string/read_dur_progress" |
|
|
|
|
android:paddingStart="2dp" |
|
|
|
|
android:paddingEnd="2dp" |
|
|
|
|
android:src="@drawable/ic_history" |
|
|
|
|
app:layout_constraintBottom_toBottomOf="@+id/tv_read" |
|
|
|
|
app:layout_constraintLeft_toRightOf="@+id/iv_cover" |
|
|
|
|
app:layout_constraintLeft_toLeftOf="@+id/tv_name" |
|
|
|
|
app:layout_constraintTop_toTopOf="@+id/tv_read" |
|
|
|
|
app:tint="@color/tv_text_secondary" |
|
|
|
|
app:tint="@color/tv_text_summary" |
|
|
|
|
tools:ignore="RtlHardcoded,RtlSymmetry" /> |
|
|
|
|
|
|
|
|
|
<TextView |
|
|
|
@ -123,7 +122,7 @@ |
|
|
|
|
android:includeFontPadding="false" |
|
|
|
|
android:singleLine="true" |
|
|
|
|
android:text="@string/read_dur_progress" |
|
|
|
|
android:textColor="@color/tv_text_secondary" |
|
|
|
|
android:textColor="@color/tv_text_summary" |
|
|
|
|
android:textSize="13sp" |
|
|
|
|
app:layout_constraintBottom_toTopOf="@id/tv_last" |
|
|
|
|
app:layout_constraintLeft_toRightOf="@+id/iv_read" |
|
|
|
@ -134,15 +133,14 @@ |
|
|
|
|
android:id="@+id/iv_last" |
|
|
|
|
android:layout_width="@dimen/desc_icon_size" |
|
|
|
|
android:layout_height="@dimen/desc_icon_size" |
|
|
|
|
android:layout_marginLeft="8dp" |
|
|
|
|
android:contentDescription="@string/lasted_show" |
|
|
|
|
android:paddingStart="2dp" |
|
|
|
|
android:paddingEnd="2dp" |
|
|
|
|
android:src="@drawable/ic_book_last" |
|
|
|
|
app:layout_constraintBottom_toBottomOf="@+id/tv_last" |
|
|
|
|
app:layout_constraintLeft_toRightOf="@+id/iv_cover" |
|
|
|
|
app:layout_constraintLeft_toLeftOf="@+id/tv_name" |
|
|
|
|
app:layout_constraintTop_toTopOf="@+id/tv_last" |
|
|
|
|
app:tint="@color/tv_text_secondary" |
|
|
|
|
app:tint="@color/tv_text_summary" |
|
|
|
|
tools:ignore="RtlHardcoded,RtlSymmetry" /> |
|
|
|
|
|
|
|
|
|
<TextView |
|
|
|
@ -152,7 +150,7 @@ |
|
|
|
|
android:layout_marginBottom="8dp" |
|
|
|
|
android:singleLine="true" |
|
|
|
|
android:text="@string/lasted_show" |
|
|
|
|
android:textColor="@color/tv_text_secondary" |
|
|
|
|
android:textColor="@color/tv_text_summary" |
|
|
|
|
android:textSize="13sp" |
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent" |
|
|
|
|
app:layout_constraintLeft_toRightOf="@+id/iv_last" |
|
|
|
@ -182,7 +180,7 @@ |
|
|
|
|
android:layout_height="0.5dp" |
|
|
|
|
android:layout_marginLeft="18dp" |
|
|
|
|
android:layout_marginRight="18dp" |
|
|
|
|
android:background="@color/btn_bg_press" |
|
|
|
|
android:background="@color/background_menu" |
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent" /> |
|
|
|
|
|
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout> |