Refactor and tune FastScroller

This commit is contained in:
Koitharu
2022-07-09 13:21:17 +03:00
parent 4743f40154
commit e2ed7f0d77
27 changed files with 464 additions and 331 deletions

View File

@@ -5,6 +5,7 @@
<attr name="multiAutoCompleteTextViewPreferenceStyle" />
<attr name="autoCompleteTextViewPreferenceStyle" />
<attr name="listItemTextViewStyle" />
<attr name="fastScrollerStyle" />
<declare-styleable name="Theme">
<attr name="navigationBarDividerColor" format="color" />
@@ -53,16 +54,16 @@
</declare-styleable>
<declare-styleable name="FastScroller">
<attr format="boolean" name="hideScrollbar" />
<attr format="boolean" name="showBubble" />
<attr format="boolean" name="showBubbleAlways" />
<attr format="boolean" name="showTrack" />
<attr format="color" name="bubbleColor" />
<attr format="color" name="bubbleTextColor" />
<attr format="color" name="handleColor" />
<attr format="color" name="trackColor" />
<attr format="dimension" name="bubbleTextSize" />
<attr format="enum" name="bubbleSize">
<attr name="hideScrollbar" format="boolean" />
<attr name="showBubble" format="boolean" />
<attr name="showBubbleAlways" format="boolean" />
<attr name="showTrack" format="boolean" />
<attr name="bubbleColor" format="color" />
<attr name="bubbleTextColor" format="color" />
<attr name="thumbColor" format="color" />
<attr name="trackColor" format="color" />
<attr name="bubbleTextSize" format="dimension" />
<attr name="bubbleSize" format="enum">
<enum name="normal" value="0" />
<enum name="small" value="1" />
</attr>