mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-11-11 16:40:48 +01:00
Tweak reader seekbar height for Android 5 UI bug (closes #2487)
(cherry picked from commit 81418a7712
)
This commit is contained in:
parent
ad664dfb9f
commit
82faa91ce3
1 changed files with 7 additions and 1 deletions
|
@ -76,10 +76,16 @@
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
tools:text="1" />
|
tools:text="1" />
|
||||||
|
|
||||||
|
<!--
|
||||||
|
Wonky way of setting height due to issues with horizontally centering the thumb in Android 5.
|
||||||
|
See https://stackoverflow.com/questions/15701767/android-thumb-is-not-centered-in-seekbar
|
||||||
|
-->
|
||||||
<eu.kanade.tachiyomi.ui.reader.ReaderSeekBar
|
<eu.kanade.tachiyomi.ui.reader.ReaderSeekBar
|
||||||
android:id="@+id/page_seekbar"
|
android:id="@+id/page_seekbar"
|
||||||
android:layout_width="0dp"
|
android:layout_width="0dp"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="wrap_content"
|
||||||
|
android:maxHeight="?attr/actionBarSize"
|
||||||
|
android:minHeight="?attr/actionBarSize"
|
||||||
android:layout_weight="1" />
|
android:layout_weight="1" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
|
|
Loading…
Reference in a new issue