enighma
01/26/2021, 2:22 AMAmbientIndication
but it's not obvious to me what I need to do or r as there call. Do to set it up using Providers(...)
?
I'm trying to change from ripple to something else.Kirill Grouchnikov
01/26/2021, 2:25 AMenighma
01/26/2021, 2:26 AMenighma
01/26/2021, 2:26 AMKirill Grouchnikov
01/26/2021, 2:51 AMAlexjlockwood
01/26/2021, 3:13 AMMaterialTheme.kt
as a reference https://cs.android.com/androidx/platform/frameworks/support/+/androidx-main:compose/[…]tlin&ss=androidx%2Fplatform%2Fframeworks%2Fsupport:compose%2F
(but also sounds weird that you would be removing the ripple effect too tbh)Louis Pullen-Freilich [G]
01/26/2021, 1:43 PMenighma
01/26/2021, 7:13 PMenighma
01/26/2021, 7:17 PMenighma
01/26/2021, 7:17 PMLouis Pullen-Freilich [G]
01/26/2021, 7:37 PMLouis Pullen-Freilich [G]
01/26/2021, 7:53 PMRippleTheme
to customize the ripples used by components, but this doesn't support replacing / changing what a ripple is.enighma
01/26/2021, 9:07 PMLouis Pullen-Freilich [G]
01/26/2021, 9:33 PMMaterialTheme(...) {
Providers(AmbientRippleTheme provides MyCustomRippleTheme) {
// rest of app
}
}
Louis Pullen-Freilich [G]
01/26/2021, 9:33 PMenighma
01/27/2021, 1:44 AM