pull/1977/head
kunfei 2 years ago
parent 0ef292252e
commit 9d54d12088
  1. 42
      app/src/main/res/layout/item_remote_book.xml

@ -35,9 +35,9 @@
android:id="@+id/ll_info" android:id="@+id/ll_info"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="0dp" android:layout_height="0dp"
android:orientation="horizontal"
android:gravity="top"
android:layout_marginTop="8dp" android:layout_marginTop="8dp"
android:gravity="top"
android:orientation="horizontal"
app:layout_constraintLeft_toLeftOf="@+id/tv_name" app:layout_constraintLeft_toLeftOf="@+id/tv_name"
app:layout_constraintTop_toBottomOf="@+id/tv_name"> app:layout_constraintTop_toBottomOf="@+id/tv_name">
@ -47,9 +47,10 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:ellipsize="end" android:ellipsize="end"
android:lines="1" android:lines="1"
tools:text="128kb"
android:textColor="@color/tv_text_summary" android:textColor="@color/tv_text_summary"
android:textSize="13sp" /> android:textSize="13sp"
tools:text="128kb" />
<TextView <TextView
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -65,46 +66,45 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:ellipsize="end" android:ellipsize="end"
android:lines="1" android:lines="1"
tools:text="2022-12-7"
android:textColor="@color/tv_text_summary" android:textColor="@color/tv_text_summary"
android:textSize="13sp" /> android:textSize="13sp"
tools:text="2022-12-7" />
</LinearLayout> </LinearLayout>
<io.legado.app.ui.widget.text.AccentBgTextView <io.legado.app.ui.widget.text.AccentBgTextView
android:id="@+id/tv_content_type" android:id="@+id/tv_content_type"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginRight="15dp"
android:layout_marginTop="8dp" android:layout_marginTop="8dp"
android:layout_marginRight="15dp"
android:maxWidth="50dp"
android:maxLines="1"
android:paddingStart="5dp" android:paddingStart="5dp"
android:paddingEnd="5dp" android:paddingEnd="5dp"
android:text="TXT" android:text="TXT"
android:maxLines="1"
android:maxWidth="50dp"
app:radius="2dp"
tools:ignore="HardcodedText,RtlHardcoded"
app:layout_constraintLeft_toLeftOf="@+id/tv_name" app:layout_constraintLeft_toLeftOf="@+id/tv_name"
app:layout_constraintTop_toBottomOf="@id/ll_info" app:layout_constraintTop_toBottomOf="@id/ll_info"
/> app:radius="2dp"
tools:ignore="HardcodedText,RtlHardcoded" />
<LinearLayout <LinearLayout
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="match_parent" android:layout_height="match_parent"
android:layout_margin="8dp"
android:orientation="vertical" android:orientation="vertical"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintTop_toTopOf="parent" app:layout_constraintRight_toRightOf="parent"
android:layout_marginTop="3dp" app:layout_constraintTop_toTopOf="parent">
>
<Button <TextView
android:id="@+id/btn_download" android:id="@+id/btn_download"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
tools:text="加入书架" android:layout_margin="8dp"
android:text="@string/nb_file_add_shelf"> android:text="@string/nb_file_add_shelf"
tools:text="加入书架" />
</Button>
</LinearLayout> </LinearLayout>
</androidx.constraintlayout.widget.ConstraintLayout> </androidx.constraintlayout.widget.ConstraintLayout>
Loading…
Cancel
Save