pull/995/head
gedoor 4 years ago
parent 7a89e236c6
commit 073754aeaf
  1. 7
      app/src/main/res/layout/item_1line_text_and_del.xml
  2. 3
      app/src/main/res/layout/item_arrange_book.xml
  3. 12
      app/src/main/res/layout/item_book_group_manage.xml

@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<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="match_parent"
@ -13,14 +14,16 @@
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:singleLine="true" />
android:singleLine="true"
android:textColor="@color/primaryText" />
<ImageView
android:id="@+id/iv_delete"
android:layout_width="24dp"
android:layout_height="24dp"
android:contentDescription="@string/delete"
android:src="@drawable/ic_clear_all"
android:visibility="gone"
android:contentDescription="@string/delete" />
app:tint="@color/primaryText" />
</LinearLayout>

@ -52,6 +52,7 @@
android:padding="3dp"
android:hint="@string/no_group"
android:textSize="12sp"
android:textColor="@color/secondaryText"
android:singleLine="true"
android:layout_marginTop="8dp"
app:layout_constraintLeft_toRightOf="@+id/checkbox"
@ -66,6 +67,7 @@
android:background="?attr/selectableItemBackgroundBorderless"
android:padding="10dp"
android:text="@string/group"
android:textColor="@color/secondaryText"
app:layout_constraintTop_toBottomOf="@id/tv_author"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintRight_toLeftOf="@+id/tv_delete" />
@ -77,6 +79,7 @@
android:background="?attr/selectableItemBackgroundBorderless"
android:padding="10dp"
android:text="@string/delete"
android:textColor="@color/secondaryText"
app:layout_constraintTop_toBottomOf="@id/tv_author"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintRight_toRightOf="parent" />

@ -1,17 +1,20 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tool="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/background"
android:padding="8dp"
android:gravity="center_vertical"
android:orientation="horizontal">
android:orientation="horizontal"
android:padding="8dp">
<TextView
android:id="@+id/tv_group"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1" />
android:layout_weight="1"
android:textColor="@color/secondaryText"
tool:text="group" />
<TextView
android:id="@+id/tv_edit"
@ -19,7 +22,8 @@
android:layout_height="wrap_content"
android:background="?attr/selectableItemBackground"
android:padding="8dp"
android:text="@string/edit" />
android:text="@string/edit"
android:textColor="@color/secondaryText" />
<io.legado.app.lib.theme.view.ATESwitch
android:id="@+id/sw_show"

Loading…
Cancel
Save