mirror of
https://github.com/SimpleMobileTools/Simple-Dialer.git
synced 2025-06-05 21:49:23 +02:00
highlight current letter at the fastscroller
This commit is contained in:
@ -60,6 +60,7 @@ class ContactsFragment(context: Context, attributeSet: AttributeSet) : MyViewPag
|
||||
fragment_placeholder_2.setTextColor(adjustedPrimaryColor)
|
||||
|
||||
letter_fastscroller.textColor = textColor.getColorStateList()
|
||||
letter_fastscroller.pressedTextColor = adjustedPrimaryColor
|
||||
letter_fastscroller_thumb.setupWithFastScroller(letter_fastscroller)
|
||||
letter_fastscroller_thumb.textColor = adjustedPrimaryColor.getContrastColor()
|
||||
letter_fastscroller_thumb.thumbColor = adjustedPrimaryColor.getColorStateList()
|
||||
|
@ -40,6 +40,7 @@ class FavoritesFragment(context: Context, attributeSet: AttributeSet) : MyViewPa
|
||||
(fragment_list?.adapter as? MyRecyclerViewAdapter)?.updateTextColor(textColor)
|
||||
|
||||
letter_fastscroller.textColor = textColor.getColorStateList()
|
||||
letter_fastscroller.pressedTextColor = adjustedPrimaryColor
|
||||
letter_fastscroller_thumb.setupWithFastScroller(letter_fastscroller)
|
||||
letter_fastscroller_thumb.textColor = adjustedPrimaryColor.getContrastColor()
|
||||
letter_fastscroller_thumb.thumbColor = adjustedPrimaryColor.getColorStateList()
|
||||
|
Reference in New Issue
Block a user