Sunny
08/12/2021, 5:57 PMColton Idle
08/12/2021, 6:01 PMsindrenm
08/12/2021, 6:30 PMAdam Powell
08/12/2021, 6:46 PMEdgeEffect
API and combine it with drawing modifiers' native Canvas interop plus Compose's nested scrolling capabilities. Should be able to express the effect as a modifier.Adam Powell
08/12/2021, 6:46 PMEdgeEffect
is the entry point for both the glow on older platforms and Android 12's new effectAdam Powell
08/12/2021, 6:47 PMEdgeEffectCompat
in Jetpack exposes conditional access to some of the newer methods from Android 12 that provide additional fine-grained control over the stretch (though it'll still stretch if you use the older API surfaces too)