Is there already a material-icon or material widge...
# compose-wear
y
Is there already a material-icon or material widget in wear os compose to show monk skin tone scale? (https://blog.google/products/search/monk-skin-tone-scale/)
πŸ€” 1
j
Not that I am aware of - when you say "to show monk skin tone scale" what are you looking for exactly (presumably not just an indication of what skin tone is identified as the predominant one.
y
Maybe something like a color picker (https://github.com/QuadFlask/colorpicker), I can initialise a color picker with the monk skin tone palette and then allow user to choose what skin tone is the predominant one. πŸ™‚ Would the team be willing to make a wear compose color picker? We can hit two birds with one shot.
It would be possible to make a LazyColumn with all the color icon as selections, and use a set of chips to show all the skin tones. I am just wondering if there is a better way to do so on wear screen.
j
or a ScalingLazyColumn with maybe 3 tones per line in chips or buttons maybe - I am sure out UX team would have suggestions
πŸ‘ 1
b
speaking of color pickers, a very long time ago I made this one πŸ™‚ https://github.com/BoD/android-wear-color-picker
🀯 1
πŸš€ 1
y
That looks awesome, wasn't expecting the spinning wheel.
πŸ™ 1
Are you tempted to write a compose wrapper (AndroidView) for it? Update the buttons to material? Many users?
Agree the scaling lazy colum could work for the monk colours. What is the other data to enter on the same screen? If any?
y
@bod That is you πŸ™‚ I used your color picker. Is it possible to upgrade the color picker to compose wear πŸ™‚ I am just kindly asking. Thanks for the great work.
πŸ™ 1
@yschimke the other data for monk skin tone scale, might be the body parts, where you can associate the skin tone with. It would be nice to have a possibility to input
Copy code
data class SkinTone(val bodyPart: String, val skinTone: Int)
this is just my first thought. It would be great to have the list of value tuple show maybe in a set of chips as display
Or maybe also some percentage values for the presence of one tone in total sense, so that we can aggregate different tone to some value.
b
Thanks for the kind words 😊 Ideally I would love to make a new modern version of the picker lib but to be honest I have too many projects and not enough time πŸ˜…
OTOH if it ain't broke, don't fix it 😁
think smart 1