1
0
mirror of https://github.com/fumiama/copymanga.git synced 2026-06-12 11:40:27 +08:00
Files
copymanga/app/src/main/res/layout/line_bookinfo.xml
源文雨 229d5b2088 v2.1.2
新增
1. 深色阅读背景开关(fix #41)
修复
1. 主页未加载完全时无法刷新
2. 前进后退后丢失详情页失灵
3. 点一本书后迅速返回概率闪退
优化
1. 详情页头部显示
2. 取消详情页下拉放大
3. 大屏下详情页caption缩进
2024-03-08 02:23:21 +09:00

48 lines
2.0 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<androidx.cardview.widget.CardView 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="wrap_content"
android:foreground="?android:attr/selectableItemBackground"
app:cardCornerRadius="@dimen/book_card_radius"
app:cardElevation="@dimen/book_card_elevation"
tools:layout_editor_absoluteX="8dp"
tools:layout_editor_absoluteY="8dp">
<ImageView
android:id="@+id/lbibg"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:alpha="0.4"
android:scaleType="centerCrop" />
<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:padding="@dimen/book_bg_card_padding">
<include
android:id="@+id/lbc"
layout="@layout/card_book"
android:layout_width="@dimen/book_card_width"
android:layout_height="0dp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toStartOf="@+id/lbitb"
app:layout_constraintHorizontal_weight="1"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintVertical_bias="0.499" />
<include
android:id="@+id/lbitb"
layout="@layout/line_booktandb"
android:layout_width="0dp"
android:layout_height="@dimen/nav_header_height"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_weight="2"
app:layout_constraintStart_toEndOf="@+id/lbc"
app:layout_constraintTop_toTopOf="parent" />
</androidx.constraintlayout.widget.ConstraintLayout>
</androidx.cardview.widget.CardView>