pull/60/head
kunfei 5 years ago
parent bdc315dc0b
commit 3445700f5a
  1. 27
      app/src/main/res/layout/activity_book_info.xml

@ -9,9 +9,19 @@
<ImageView <ImageView
android:id="@+id/bg_book" android:id="@+id/bg_book"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="256dp" android:layout_height="0dp"
android:scaleType="centerCrop"
android:contentDescription="@string/bg_image"
app:layout_constraintBottom_toTopOf="@+id/view_info"
app:layout_constraintTop_toTopOf="parent" />
<View
android:id="@+id/vw_bg"
android:layout_width="match_parent"
android:layout_height="0dp"
android:background="#50000000"
app:layout_constraintBottom_toTopOf="@+id/view_info" app:layout_constraintBottom_toTopOf="@+id/view_info"
android:scaleType="centerCrop" /> app:layout_constraintTop_toTopOf="parent" />
<io.legado.app.ui.widget.TitleBar <io.legado.app.ui.widget.TitleBar
android:id="@+id/title_bar" android:id="@+id/title_bar"
@ -49,7 +59,7 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginBottom="6dp" android:layout_marginBottom="6dp"
android:singleLine="true" android:singleLine="true"
android:textColor="@color/tv_text_default" android:textColor="@color/md_white_1000"
android:textSize="18sp" /> android:textSize="18sp" />
<TextView <TextView
@ -58,6 +68,7 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginBottom="3dp" android:layout_marginBottom="3dp"
android:singleLine="true" android:singleLine="true"
android:textColor="@color/md_white_1000"
android:textSize="16sp" /> android:textSize="16sp" />
<LinearLayout <LinearLayout
@ -73,6 +84,7 @@
android:layout_weight="1" android:layout_weight="1"
android:singleLine="true" android:singleLine="true"
android:textSize="16sp" android:textSize="16sp"
android:textColor="@color/md_white_1000"
tools:ignore="NestedWeights" /> tools:ignore="NestedWeights" />
<io.legado.app.lib.theme.view.ATEAccentBgTextView <io.legado.app.lib.theme.view.ATEAccentBgTextView
@ -140,6 +152,7 @@
android:layout_marginBottom="4dp" android:layout_marginBottom="4dp"
android:singleLine="true" android:singleLine="true"
android:textSize="16sp" android:textSize="16sp"
android:textColor="@color/md_white_1000"
app:layout_constraintBottom_toBottomOf="@+id/iv_cover" app:layout_constraintBottom_toBottomOf="@+id/iv_cover"
app:layout_constraintLeft_toLeftOf="@+id/tv_name" app:layout_constraintLeft_toLeftOf="@+id/tv_name"
app:layout_constraintRight_toRightOf="@id/tv_name" /> app:layout_constraintRight_toRightOf="@id/tv_name" />
@ -152,8 +165,8 @@
android:layout_height="0dp" android:layout_height="0dp"
android:layout_marginTop="10dp" android:layout_marginTop="10dp"
android:orientation="vertical" android:orientation="vertical"
app:layout_constraintTop_toBottomOf="@+id/iv_cover" app:layout_constraintBottom_toTopOf="@+id/view_other"
app:layout_constraintBottom_toTopOf="@+id/view_other"> app:layout_constraintTop_toBottomOf="@+id/iv_cover">
<View <View
android:layout_width="match_parent" android:layout_width="match_parent"
@ -196,8 +209,8 @@
android:orientation="vertical" android:orientation="vertical"
android:paddingTop="12dp" android:paddingTop="12dp"
android:paddingBottom="12dp" android:paddingBottom="12dp"
app:layout_constraintTop_toBottomOf="@+id/view_info" app:layout_constraintBottom_toTopOf="@+id/fl_action"
app:layout_constraintBottom_toTopOf="@+id/fl_action"> app:layout_constraintTop_toBottomOf="@+id/view_info">
<TextView <TextView
android:id="@+id/tv_group" android:id="@+id/tv_group"

Loading…
Cancel
Save