Update fast scroll

This commit is contained in:
Koitharu
2022-02-26 13:10:34 +02:00
parent 3235141b2e
commit 70db9ba94a
11 changed files with 21 additions and 31 deletions

View File

@@ -22,5 +22,6 @@
<color name="grey_dark">#212121</color>
<color name="dim">#99000000</color>
<color name="shadow">#99000000</color>
<color name="scrollbar">#66000000</color>
</resources>

View File

@@ -174,11 +174,12 @@
<string name="black_dark_theme">Black</string>
<string name="black_dark_theme_summary">Uses less power on AMOLED screens</string>
<string name="restart_required">Restart required</string>
<string name="backup_restore"><![CDATA[Backup and restore]]></string>
<string name="backup_restore">Backup and restore</string>
<string name="create_backup">Create data backup</string>
<string name="restore_backup">Restore from backup</string>
<string name="data_restored">Restored</string>
<string name="preparing_">Preparing…</string>
<string name="report_github">Create issue on GitHub</string>
<string name="file_not_found">File not found</string>
<string name="data_restored_success">All data was restored</string>
<string name="data_restored_with_errors">The data was restored, but there are errors</string>

View File

@@ -84,6 +84,14 @@
<item name="rippleColor">@null</item>
</style>
<style name="Widget.Kotatsu.RecyclerView" parent="">
<item name="fastScrollHorizontalThumbDrawable">@drawable/list_thumb</item>
<item name="fastScrollVerticalThumbDrawable">@drawable/list_thumb</item>
<item name="fastScrollHorizontalTrackDrawable">@drawable/list_track</item>
<item name="fastScrollVerticalTrackDrawable">@drawable/list_track</item>
<item name="android:scrollbarStyle">outsideOverlay</item>
</style>
<style name="ThemeOverlay.Kotatsu.Switch" parent="">
<item name="elevationOverlayEnabled">@bool/elevation_overlay_enabled</item>
</style>

View File

@@ -67,6 +67,7 @@
<item name="tabStyle">@style/Widget.Kotatsu.Tabs</item>
<item name="switchStyle">@style/Widget.Kotatsu.Switch</item>
<item name="materialCardViewStyle">@style/Widget.Material3.CardView.Elevated</item>
<item name="recyclerViewStyle">@style/Widget.Kotatsu.RecyclerView</item>
<!-- Preference text appearance -->
<item name="android:textAppearanceListItem">?attr/textAppearanceBodyLarge</item>