mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-11-14 05:15:10 +01:00
Some Detail UI changes (#217)
* slight gradient increase in width adjust more/less/start reading button to have more margin to be padded away from fast scroller * remove title from top app bar
This commit is contained in:
parent
e9efc7d020
commit
09a24bd9f2
@ -187,7 +187,7 @@ class MangaDetailsController : BaseController,
|
|||||||
var headerHeight = 0
|
var headerHeight = 0
|
||||||
|
|
||||||
override fun getTitle(): String? {
|
override fun getTitle(): String? {
|
||||||
return if (toolbarIsColored && !isTablet) manga?.title else null
|
return null
|
||||||
}
|
}
|
||||||
|
|
||||||
override fun inflateView(inflater: LayoutInflater, container: ViewGroup): View {
|
override fun inflateView(inflater: LayoutInflater, container: ViewGroup): View {
|
||||||
|
@ -223,9 +223,9 @@
|
|||||||
style="@style/TextAppearance.Regular.Body1.Secondary"
|
style="@style/TextAppearance.Regular.Body1.Secondary"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginStart="16dp"
|
android:layout_marginStart="18dp"
|
||||||
android:layout_marginTop="4dp"
|
android:layout_marginTop="4dp"
|
||||||
android:layout_marginEnd="16dp"
|
android:layout_marginEnd="18dp"
|
||||||
android:clickable="true"
|
android:clickable="true"
|
||||||
android:focusable="true"
|
android:focusable="true"
|
||||||
android:maxLines="3"
|
android:maxLines="3"
|
||||||
@ -238,7 +238,7 @@
|
|||||||
|
|
||||||
<View
|
<View
|
||||||
android:id="@+id/more_bg_gradient"
|
android:id="@+id/more_bg_gradient"
|
||||||
android:layout_width="50dp"
|
android:layout_width="60dp"
|
||||||
android:layout_height="16sp"
|
android:layout_height="16sp"
|
||||||
android:layout_marginEnd="30dp"
|
android:layout_marginEnd="30dp"
|
||||||
android:background="@drawable/full_gradient"
|
android:background="@drawable/full_gradient"
|
||||||
@ -268,7 +268,7 @@
|
|||||||
style="@style/Theme.Widget.Button.TextButton"
|
style="@style/Theme.Widget.Button.TextButton"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginEnd="8dp"
|
android:layout_marginEnd="18dp"
|
||||||
android:text="@string/more"
|
android:text="@string/more"
|
||||||
android:textAlignment="viewEnd"
|
android:textAlignment="viewEnd"
|
||||||
app:layout_constraintBottom_toBottomOf="@id/more_guide"
|
app:layout_constraintBottom_toBottomOf="@id/more_guide"
|
||||||
@ -314,8 +314,8 @@
|
|||||||
style="@style/Theme.Widget.Button.TextButton"
|
style="@style/Theme.Widget.Button.TextButton"
|
||||||
android:layout_width="0dp"
|
android:layout_width="0dp"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginStart="8dp"
|
android:layout_marginStart="18dp"
|
||||||
android:layout_marginEnd="8dp"
|
android:layout_marginEnd="18dp"
|
||||||
android:text="@string/less"
|
android:text="@string/less"
|
||||||
android:textAlignment="textEnd"
|
android:textAlignment="textEnd"
|
||||||
android:visibility="gone"
|
android:visibility="gone"
|
||||||
@ -331,9 +331,9 @@
|
|||||||
style="@style/Theme.Widget.Button.Primary"
|
style="@style/Theme.Widget.Button.Primary"
|
||||||
android:layout_width="0dp"
|
android:layout_width="0dp"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginStart="16dp"
|
android:layout_marginStart="24dp"
|
||||||
android:layout_marginTop="12dp"
|
android:layout_marginTop="12dp"
|
||||||
android:layout_marginEnd="16dp"
|
android:layout_marginEnd="24dp"
|
||||||
android:text="@string/start_reading"
|
android:text="@string/start_reading"
|
||||||
app:layout_constraintBottom_toTopOf="@id/chapter_layout"
|
app:layout_constraintBottom_toTopOf="@id/chapter_layout"
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
|
Loading…
Reference in New Issue
Block a user