So while clicking on any of the clickable componen...
# compose
d
So while clicking on any of the clickable component in Compose, i see that there is a grey color bar comes up for a sec, can we customise that effect, may be to a different color
l
Yeah, you want to pass an
indication
parameter to
Clickable
-
Material
provides
rememberRipple()
for this
d
@sen kumar 🔼
l
If you are using a
MaterialTheme
(doesn't look like you are using Material components) then it will provide a default value for
LocalIndication
, which is where this grey bar is coming from (the default debug value) - so you could override this with a ripple or your own custom indication
🙏 1
d
If possible can you point me to a sample, how to implement a Indication of our own