https://kotlinlang.org logo
#compose
Title
# compose
z

ziv kesten

03/06/2022, 1:07 PM
Is there any way to change
Slider
ThumbSize other the to copy the whole code of
Slider
into my project and change that internal value?
1
z

Zach Klippenstein (he/him) [MOD]

03/08/2022, 1:00 AM
I don't think so, but feel free to file a feature request since I thought material allowed you to use at least a few different thumb shapes.
z

ziv kesten

03/08/2022, 6:24 AM
Yeah I usually get the "don't customize - build your own" approach, but Slider is a 1000 code lines class and thumbSize is, very surprisingly, internal.
z

Zach Klippenstein (he/him) [MOD]

03/08/2022, 4:04 PM
Are you using material 2 or 3?
z

ziv kesten

03/08/2022, 4:07 PM
I have not been material3 so far. Just
androidx.compose.material:material: 1.0.1
My project
compileSdkVersion
is 30 and we are not ready to support 12 yet
We have alot of third party that may not state "`exported`" property on their activities, we just haven't got around to support that
z

Zach Klippenstein (he/him) [MOD]

03/08/2022, 4:14 PM
I'm not sure if material3 supports this already but if not definitely file a feature request
👍 1
3 Views