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
2 changed files with 9 additions and 9 deletions
|
@ -187,7 +187,7 @@ class MangaDetailsController : BaseController,
|
|||
var headerHeight = 0
|
||||
|
||||
override fun getTitle(): String? {
|
||||
return if (toolbarIsColored && !isTablet) manga?.title else null
|
||||
return null
|
||||
}
|
||||
|
||||
override fun inflateView(inflater: LayoutInflater, container: ViewGroup): View {
|
||||
|
|
|
@ -223,9 +223,9 @@
|
|||
style="@style/TextAppearance.Regular.Body1.Secondary"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="16dp"
|
||||
android:layout_marginStart="18dp"
|
||||
android:layout_marginTop="4dp"
|
||||
android:layout_marginEnd="16dp"
|
||||
android:layout_marginEnd="18dp"
|
||||
android:clickable="true"
|
||||
android:focusable="true"
|
||||
android:maxLines="3"
|
||||
|
@ -238,7 +238,7 @@
|
|||
|
||||
<View
|
||||
android:id="@+id/more_bg_gradient"
|
||||
android:layout_width="50dp"
|
||||
android:layout_width="60dp"
|
||||
android:layout_height="16sp"
|
||||
android:layout_marginEnd="30dp"
|
||||
android:background="@drawable/full_gradient"
|
||||
|
@ -268,7 +268,7 @@
|
|||
style="@style/Theme.Widget.Button.TextButton"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginEnd="8dp"
|
||||
android:layout_marginEnd="18dp"
|
||||
android:text="@string/more"
|
||||
android:textAlignment="viewEnd"
|
||||
app:layout_constraintBottom_toBottomOf="@id/more_guide"
|
||||
|
@ -314,8 +314,8 @@
|
|||
style="@style/Theme.Widget.Button.TextButton"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="8dp"
|
||||
android:layout_marginEnd="8dp"
|
||||
android:layout_marginStart="18dp"
|
||||
android:layout_marginEnd="18dp"
|
||||
android:text="@string/less"
|
||||
android:textAlignment="textEnd"
|
||||
android:visibility="gone"
|
||||
|
@ -331,9 +331,9 @@
|
|||
style="@style/Theme.Widget.Button.Primary"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="16dp"
|
||||
android:layout_marginStart="24dp"
|
||||
android:layout_marginTop="12dp"
|
||||
android:layout_marginEnd="16dp"
|
||||
android:layout_marginEnd="24dp"
|
||||
android:text="@string/start_reading"
|
||||
app:layout_constraintBottom_toTopOf="@id/chapter_layout"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
|
|
Reference in a new issue