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