Update fast scroll behavior
Update the behavior of the fast scroller so that the scroll only begins when the pointer is in the indicator box itself, instead of the general view.
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="oval">
|
||||
<solid android:color="@android:color/white" />
|
||||
</shape>
|
||||
@@ -12,7 +12,7 @@
|
||||
android:id="@+id/accent"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@drawable/ui_circular_button"
|
||||
android:background="@drawable/ui_circle_ripple"
|
||||
android:padding="@dimen/margin_medium"
|
||||
android:scaleType="fitCenter"
|
||||
android:src="@drawable/ic_check"
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
android:id="@+id/scroll_thumb"
|
||||
android:layout_width="@dimen/size_scroll_thumb"
|
||||
android:layout_height="@dimen/size_scroll_thumb"
|
||||
android:background="@drawable/ui_circular_button"
|
||||
android:background="@drawable/ui_circle"
|
||||
android:elevation="@dimen/elevation_small"
|
||||
android:backgroundTint="?attr/colorPrimary"
|
||||
android:stateListAnimator="@animator/animator_thumb"
|
||||
|
||||
@@ -213,7 +213,7 @@
|
||||
<style name="PlayPause">
|
||||
<item name="android:layout_height">@dimen/size_play_pause</item>
|
||||
<item name="android:layout_width">@dimen/size_play_pause</item>
|
||||
<item name="android:background">@drawable/ui_circular_button</item>
|
||||
<item name="android:background">@drawable/ui_circle_ripple</item>
|
||||
<item name="android:backgroundTint">?attr/colorPrimary</item>
|
||||
<item name="android:tint">?android:attr/windowBackground</item>
|
||||
<item name="android:layout_marginStart">@dimen/margin_large</item>
|
||||
|
||||
Reference in New Issue
Block a user