Add more improved fast scroller

This commit is contained in:
Zakhar Timoshenko
2022-07-09 00:26:05 +03:00
parent c5de765e52
commit b519b53419
27 changed files with 1012 additions and 55 deletions

View File

@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="utf-8"?>
<shape
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:shape="rectangle">
<tools:solid android:color="#777777" />
<corners
android:topLeftRadius="@dimen/fastscroll_bubble_radius"
android:topRightRadius="@dimen/fastscroll_bubble_radius"
android:bottomLeftRadius="@dimen/fastscroll_bubble_radius"
android:bottomRightRadius="8dp" />
<size
android:height="@dimen/fastscroll_bubble_size"
android:width="@dimen/fastscroll_bubble_size" />
<padding
android:left="@dimen/fastscroll_bubble_padding"
android:right="@dimen/fastscroll_bubble_padding" />
</shape>

View File

@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="utf-8"?>
<shape
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:shape="rectangle">
<tools:solid android:color="#777777" />
<corners
android:topLeftRadius="@dimen/fastscroll_bubble_radius_small"
android:topRightRadius="@dimen/fastscroll_bubble_radius_small"
android:bottomLeftRadius="@dimen/fastscroll_bubble_radius_small"
android:bottomRightRadius="8dp" />
<size
android:height="@dimen/fastscroll_bubble_size_small"
android:width="@dimen/fastscroll_bubble_size_small" />
<padding
android:left="@dimen/fastscroll_bubble_padding_small"
android:right="@dimen/fastscroll_bubble_padding_small" />
</shape>

View File

@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<shape
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:shape="rectangle">
<tools:solid android:color="#555555" />
<corners android:radius="@dimen/fastscroll_handle_radius" />
<size
android:height="@dimen/fastscroll_handle_height"
android:width="@dimen/fastscroll_handle_width" />
</shape>

View File

@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<shape
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:shape="rectangle">
<tools:solid android:color="#CCCCCC" />
<size android:width="@dimen/fastscroll_track_width" />
</shape>