|
@@ -5,9 +5,10 @@
|
|
|
android:id="@+id/cv_content"
|
|
android:id="@+id/cv_content"
|
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
|
|
|
+ android:background="@drawable/bg_item_focused_on_tv"
|
|
|
android:clickable="true"
|
|
android:clickable="true"
|
|
|
android:focusable="true"
|
|
android:focusable="true"
|
|
|
- android:background="@drawable/bg_item_focused_on_tv"
|
|
|
|
|
|
|
+ android:scrollbars="none"
|
|
|
tools:ignore="UnusedAttribute">
|
|
tools:ignore="UnusedAttribute">
|
|
|
|
|
|
|
|
|
|
|
|
@@ -15,14 +16,16 @@
|
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
|
android:orientation="vertical"
|
|
android:orientation="vertical"
|
|
|
- android:paddingTop="8dp"
|
|
|
|
|
android:paddingLeft="8dp"
|
|
android:paddingLeft="8dp"
|
|
|
|
|
+ android:paddingTop="8dp"
|
|
|
android:paddingRight="8dp"
|
|
android:paddingRight="8dp"
|
|
|
|
|
+ android:scrollbars="none"
|
|
|
app:layout_constraintTop_toTopOf="parent">
|
|
app:layout_constraintTop_toTopOf="parent">
|
|
|
|
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content">
|
|
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:scrollbars="none">
|
|
|
|
|
|
|
|
<io.legado.app.ui.widget.image.CoverImageView
|
|
<io.legado.app.ui.widget.image.CoverImageView
|
|
|
android:id="@+id/iv_cover"
|
|
android:id="@+id/iv_cover"
|
|
@@ -30,6 +33,7 @@
|
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_margin="8dp"
|
|
android:layout_margin="8dp"
|
|
|
android:scaleType="centerCrop"
|
|
android:scaleType="centerCrop"
|
|
|
|
|
+ android:scrollbars="none"
|
|
|
android:src="@drawable/image_cover_default"
|
|
android:src="@drawable/image_cover_default"
|
|
|
android:transitionName="img_cover"
|
|
android:transitionName="img_cover"
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
@@ -42,6 +46,7 @@
|
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_gravity="right"
|
|
android:layout_gravity="right"
|
|
|
android:includeFontPadding="false"
|
|
android:includeFontPadding="false"
|
|
|
|
|
+ android:scrollbars="none"
|
|
|
app:layout_constraintRight_toRightOf="parent"
|
|
app:layout_constraintRight_toRightOf="parent"
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
tools:ignore="RtlHardcoded" />
|
|
tools:ignore="RtlHardcoded" />
|
|
@@ -51,6 +56,7 @@
|
|
|
android:layout_width="22dp"
|
|
android:layout_width="22dp"
|
|
|
android:layout_height="22dp"
|
|
android:layout_height="22dp"
|
|
|
android:layout_gravity="right"
|
|
android:layout_gravity="right"
|
|
|
|
|
+ android:scrollbars="none"
|
|
|
android:visibility="invisible"
|
|
android:visibility="invisible"
|
|
|
app:layout_constraintRight_toRightOf="parent"
|
|
app:layout_constraintRight_toRightOf="parent"
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
@@ -68,6 +74,7 @@
|
|
|
android:gravity="top|center_horizontal"
|
|
android:gravity="top|center_horizontal"
|
|
|
android:includeFontPadding="false"
|
|
android:includeFontPadding="false"
|
|
|
android:lines="2"
|
|
android:lines="2"
|
|
|
|
|
+ android:scrollbars="none"
|
|
|
android:text="@string/book_name"
|
|
android:text="@string/book_name"
|
|
|
android:textColor="@color/primaryText"
|
|
android:textColor="@color/primaryText"
|
|
|
android:textSize="12sp"
|
|
android:textSize="12sp"
|
|
@@ -80,6 +87,7 @@
|
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="0dp"
|
|
android:layout_height="0dp"
|
|
|
android:background="?android:attr/selectableItemBackground"
|
|
android:background="?android:attr/selectableItemBackground"
|
|
|
|
|
+ android:scrollbars="none"
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
app:layout_constraintVertical_bias="0.0"
|
|
app:layout_constraintVertical_bias="0.0"
|