Improved scroll bar colors

pull/162/head
M66B 5 years ago
parent 3a7ff9cda1
commit 2a0686feef

@ -7,7 +7,7 @@
</item>
<item>
<shape android:shape="rectangle">
<solid android:color="?attr/colorPrimary" />
<solid android:color="?attr/colorSeparator" />
</shape>
</item>
</selector>

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<solid android:color="?colorSeparator" />
<solid android:color="@android:color/transparent" />
</shape>

@ -149,10 +149,10 @@
android:scrollbarStyle="outsideOverlay"
android:scrollbars="none"
app:fastScrollEnabled="true"
app:fastScrollHorizontalThumbDrawable="@drawable/fast_scroll_thumb"
app:fastScrollHorizontalTrackDrawable="@drawable/fast_scroll_track"
app:fastScrollVerticalThumbDrawable="@drawable/fast_scroll_thumb"
app:fastScrollVerticalTrackDrawable="@drawable/fast_scroll_track"
app:fastScrollHorizontalThumbDrawable="@drawable/scroll_thumb"
app:fastScrollHorizontalTrackDrawable="@drawable/scroll_track"
app:fastScrollVerticalThumbDrawable="@drawable/scroll_thumb"
app:fastScrollVerticalTrackDrawable="@drawable/scroll_track"
app:layout_constraintBottom_toTopOf="@+id/seekBar"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"

@ -35,6 +35,10 @@
<item name="android:buttonStyleSmall">@style/buttonStyleSmall</item>
<item name="android:buttonStyleToggle">@style/buttonStyleToggle</item>
<item name="android:radioButtonStyle">@style/radioButtonStyle</item>
<item name="android:scrollbarSize">6dp</item>
<item name="android:scrollbarThumbVertical">@drawable/scroll_thumb</item>
<item name="android:scrollbarTrackVertical">@drawable/scroll_track</item>
</style>
<style name="AppThemeDark" parent="Base.Theme.AppCompat">
@ -62,6 +66,10 @@
<item name="android:buttonStyleSmall">@style/buttonStyleSmall</item>
<item name="android:buttonStyleToggle">@style/buttonStyleToggle</item>
<item name="android:radioButtonStyle">@style/radioButtonStyle</item>
<item name="android:scrollbarSize">6dp</item>
<item name="android:scrollbarThumbVertical">@drawable/scroll_thumb</item>
<item name="android:scrollbarTrackVertical">@drawable/scroll_track</item>
</style>
<style name="AppThemeBlack" parent="AppThemeDark">

Loading…
Cancel
Save