diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/manga/info/MangaInfoHeaderAdapter.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/manga/info/MangaInfoHeaderAdapter.kt index 3c121fe5c..454a1d3cb 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/manga/info/MangaInfoHeaderAdapter.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/manga/info/MangaInfoHeaderAdapter.kt @@ -275,7 +275,6 @@ class MangaInfoHeaderAdapter( // Handle showing more or less info merge( - binding.mangaSummarySection.clicks(), binding.mangaSummaryText.clicks(), binding.mangaInfoToggleMore.clicks(), binding.mangaInfoToggleLess.clicks() diff --git a/app/src/main/res/layout/manga_info_header.xml b/app/src/main/res/layout/manga_info_header.xml index 3f2eaa407..59b48fe57 100644 --- a/app/src/main/res/layout/manga_info_header.xml +++ b/app/src/main/res/layout/manga_info_header.xml @@ -1,274 +1,268 @@ - - + + + android:layout_height="160dp" + android:layout_marginBottom="-16dp" + android:background="@drawable/manga_info_gradient" + android:backgroundTint="?android:attr/colorBackground" + app:layout_constraintBottom_toBottomOf="@+id/backdrop" /> - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + android:layout_marginStart="16dp" + android:layout_marginEnd="16dp" + android:orientation="vertical" + app:layout_constraintBottom_toBottomOf="@+id/manga_cover" + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintStart_toEndOf="@+id/manga_cover"> + app:autoSizeMaxTextSize="20sp" + app:autoSizeMinTextSize="12sp" + app:autoSizeStepGranularity="2sp" + app:autoSizeTextType="uniform" /> - - - + android:textIsSelectable="false" + tools:text="Author" /> - + android:layout_marginBottom="4dp" + android:textIsSelectable="false" + tools:text="Artist" /> - + - + + + android:layout_marginStart="4dp" + android:layout_marginEnd="4dp" + android:text="•" + android:textIsSelectable="false" + tools:ignore="HardcodedText" /> - + + + + + + + + + + + + + + + + + + + + + + + app:singleLine="true" /> - + - + + + + + diff --git a/app/src/main/res/xml/manga_info_header_scene.xml b/app/src/main/res/xml/manga_info_header_scene.xml new file mode 100644 index 000000000..5e29f7a44 --- /dev/null +++ b/app/src/main/res/xml/manga_info_header_scene.xml @@ -0,0 +1,221 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file