list: make fast scroll thumb less intrusive

This commit is contained in:
Alexander Capehart
2025-01-02 12:09:03 -07:00
parent be666069fc
commit ecc8d8750a
4 changed files with 19 additions and 29 deletions
@@ -1,11 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="960"
android:viewportHeight="960"
android:tint="?attr/colorControlNormal">
<path
android:fillColor="@android:color/white"
android:pathData="M480,840L300,660L358,602L480,724L602,602L660,660L480,840ZM358,362L300,304L480,124L660,304L602,362L480,240L358,362Z"/>
</vector>
@@ -3,9 +3,8 @@
android:shape="rectangle"
android:tint="?attr/colorSecondary">
<corners android:topLeftRadius="24dp" android:bottomLeftRadius="24dp" />
<corners android:radius="8dp" />
<size
android:width="48dp"
android:height="48dp" />
android:width="4dp" />
<solid android:color="@android:color/white" />
</shape>
@@ -2,14 +2,13 @@
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:background="@drawable/ui_scroll_thumb">
android:padding="@dimen/spacing_tiny"
xmlns:app="http://schemas.android.com/apk/res-auto">
<ImageView
android:layout_width="@dimen/size_touchable_small"
android:layout_width="wrap_content"
android:layout_height="@dimen/size_touchable_small"
app:tint="?attr/colorOnSecondary"
android:scaleType="centerInside"
android:src="@drawable/ic_scroll_24" />
android:src="@drawable/ui_scroll_thumb" />
</FrameLayout>