mirror of
				https://github.com/mihonapp/mihon.git
				synced 2025-10-30 22:07:57 +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:
		| @@ -12,7 +12,7 @@ | ||||
|         android:id="@+id/backdrop" | ||||
|         android:layout_width="0dp" | ||||
|         android:layout_height="0dp" | ||||
|         android:layout_marginBottom="-8dp" | ||||
|         android:layout_marginBottom="-32dp" | ||||
|         android:alpha="0.2" | ||||
|         android:scaleType="centerCrop" | ||||
|         app:layout_constraintBottom_toBottomOf="@+id/manga_cover" | ||||
| @@ -36,7 +36,7 @@ | ||||
|         android:layout_width="100dp" | ||||
|         android:layout_height="0dp" | ||||
|         android:layout_marginStart="16dp" | ||||
|         android:layout_marginTop="8dp" | ||||
|         android:layout_marginTop="16dp" | ||||
|         android:background="@drawable/rounded_rectangle" | ||||
|         android:contentDescription="@string/description_cover" | ||||
|         android:maxWidth="100dp" | ||||
| @@ -53,6 +53,7 @@ | ||||
|         android:layout_height="wrap_content" | ||||
|         android:layout_marginStart="16dp" | ||||
|         android:layout_marginEnd="16dp" | ||||
|         android:layout_marginBottom="8dp" | ||||
|         android:orientation="vertical" | ||||
|         app:layout_constraintBottom_toBottomOf="@+id/manga_cover" | ||||
|         app:layout_constraintEnd_toEndOf="parent" | ||||
| @@ -132,6 +133,9 @@ | ||||
|         android:id="@+id/manga_actions" | ||||
|         android:layout_width="0dp" | ||||
|         android:layout_height="wrap_content" | ||||
|         android:layout_marginStart="16dp" | ||||
|         android:layout_marginTop="-24dp" | ||||
|         android:layout_marginEnd="16dp" | ||||
|         android:orientation="horizontal" | ||||
|         app:layout_constraintEnd_toEndOf="parent" | ||||
|         app:layout_constraintStart_toStartOf="parent" | ||||
|   | ||||
| @@ -15,20 +15,10 @@ | ||||
|             android:id="@+id/manga_summary_section" | ||||
|             android:layout_width="match_parent" | ||||
|             android:layout_height="wrap_content" | ||||
|             android:layout_marginTop="8dp" | ||||
|             motion:layout_constraintEnd_toEndOf="parent" | ||||
|             motion:layout_constraintStart_toStartOf="parent" | ||||
|             motion:layout_constraintTop_toBottomOf="@id/manga_actions" | ||||
|             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 android:id="@+id/end"> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user