mirror of
https://github.com/cmclark00/RetroMusicPlayer.git
synced 2025-05-20 00:55:20 +01:00
Added Circular Std and a toggle to use it
This commit is contained in:
parent
fd03cb4e99
commit
02b72551c9
13 changed files with 46 additions and 3 deletions
|
@ -115,8 +115,10 @@ fun SeekBar.addAccentColor() {
|
|||
|
||||
fun Slider.accent() {
|
||||
if (materialYou) return
|
||||
trackActiveTintList = context.accentColor().colorStateList
|
||||
trackInactiveTintList = context.accentColorVariant().colorStateList
|
||||
val accentColor = context.accentColor()
|
||||
thumbTintList = accentColor.colorStateList
|
||||
trackActiveTintList = accentColor.colorStateList
|
||||
trackInactiveTintList = ColorUtil.withAlpha(accentColor, 0.1F).colorStateList
|
||||
}
|
||||
|
||||
fun Button.accentTextColor() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue