mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-12-22 23:41:50 +01:00
Tweak MangaInfoHeader (#5766)
Make margin between transparent toolbar and cover more match 1.x Fixes from when view was redone with MotionLayout
This commit is contained in:
parent
6ed767ae84
commit
72002c13d6
@ -12,7 +12,7 @@
|
|||||||
android:id="@+id/backdrop"
|
android:id="@+id/backdrop"
|
||||||
android:layout_width="0dp"
|
android:layout_width="0dp"
|
||||||
android:layout_height="0dp"
|
android:layout_height="0dp"
|
||||||
android:layout_marginBottom="-8dp"
|
android:layout_marginBottom="-32dp"
|
||||||
android:alpha="0.2"
|
android:alpha="0.2"
|
||||||
android:scaleType="centerCrop"
|
android:scaleType="centerCrop"
|
||||||
app:layout_constraintBottom_toBottomOf="@+id/manga_cover"
|
app:layout_constraintBottom_toBottomOf="@+id/manga_cover"
|
||||||
@ -36,7 +36,7 @@
|
|||||||
android:layout_width="100dp"
|
android:layout_width="100dp"
|
||||||
android:layout_height="0dp"
|
android:layout_height="0dp"
|
||||||
android:layout_marginStart="16dp"
|
android:layout_marginStart="16dp"
|
||||||
android:layout_marginTop="8dp"
|
android:layout_marginTop="16dp"
|
||||||
android:background="@drawable/rounded_rectangle"
|
android:background="@drawable/rounded_rectangle"
|
||||||
android:contentDescription="@string/description_cover"
|
android:contentDescription="@string/description_cover"
|
||||||
android:maxWidth="100dp"
|
android:maxWidth="100dp"
|
||||||
@ -53,6 +53,7 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginStart="16dp"
|
android:layout_marginStart="16dp"
|
||||||
android:layout_marginEnd="16dp"
|
android:layout_marginEnd="16dp"
|
||||||
|
android:layout_marginBottom="8dp"
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
app:layout_constraintBottom_toBottomOf="@+id/manga_cover"
|
app:layout_constraintBottom_toBottomOf="@+id/manga_cover"
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
@ -132,6 +133,9 @@
|
|||||||
android:id="@+id/manga_actions"
|
android:id="@+id/manga_actions"
|
||||||
android:layout_width="0dp"
|
android:layout_width="0dp"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginStart="16dp"
|
||||||
|
android:layout_marginTop="-24dp"
|
||||||
|
android:layout_marginEnd="16dp"
|
||||||
android:orientation="horizontal"
|
android:orientation="horizontal"
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
|
@ -15,20 +15,10 @@
|
|||||||
android:id="@+id/manga_summary_section"
|
android:id="@+id/manga_summary_section"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginTop="8dp"
|
|
||||||
motion:layout_constraintEnd_toEndOf="parent"
|
motion:layout_constraintEnd_toEndOf="parent"
|
||||||
motion:layout_constraintStart_toStartOf="parent"
|
motion:layout_constraintStart_toStartOf="parent"
|
||||||
motion:layout_constraintTop_toBottomOf="@id/manga_actions"
|
motion:layout_constraintTop_toBottomOf="@id/manga_actions"
|
||||||
motion:visibilityMode="ignore" />
|
motion:visibilityMode="ignore" />
|
||||||
<Constraint
|
|
||||||
motion:layout_constraintEnd_toEndOf="parent"
|
|
||||||
android:layout_width="0dp"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
motion:layout_constraintTop_toBottomOf="@id/backdrop"
|
|
||||||
motion:layout_constraintStart_toStartOf="parent"
|
|
||||||
android:id="@+id/manga_actions"
|
|
||||||
android:layout_marginStart="16dp"
|
|
||||||
android:layout_marginEnd="16dp" />
|
|
||||||
</ConstraintSet>
|
</ConstraintSet>
|
||||||
|
|
||||||
<ConstraintSet android:id="@+id/end">
|
<ConstraintSet android:id="@+id/end">
|
||||||
|
Loading…
Reference in New Issue
Block a user