Add more improved fast scroller
This commit is contained in:
23
app/src/main/res/drawable/fastscroll_bubble.xml
Normal file
23
app/src/main/res/drawable/fastscroll_bubble.xml
Normal 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>
|
||||
23
app/src/main/res/drawable/fastscroll_bubble_small.xml
Normal file
23
app/src/main/res/drawable/fastscroll_bubble_small.xml
Normal 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>
|
||||
15
app/src/main/res/drawable/fastscroll_handle.xml
Normal file
15
app/src/main/res/drawable/fastscroll_handle.xml
Normal 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>
|
||||
11
app/src/main/res/drawable/fastscroll_track.xml
Normal file
11
app/src/main/res/drawable/fastscroll_track.xml
Normal 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>
|
||||
Reference in New Issue
Block a user