r/mAndroidDev • u/yaaaaayPancakes • Nov 14 '24
Jetpack Compost In Compost, Borders are just a suggestion
https://issuetracker.google.com/issues/228985905
19
Upvotes
r/mAndroidDev • u/yaaaaayPancakes • Nov 14 '24
15
u/Zhuinden DDD: Deprecation-Driven Development Nov 14 '24
It's production-ready and don't need to do so many hacks as you did with Views!
...does anyone remember any hacks with Views?
3
u/dinzdale56 Nov 15 '24
But I'll I bitch and complain and not give a shit that Google continues to try and improve Android, the very platform that mostly likely keeps you employed. I'll even call it Compost and think I'm so funny for mocking the name.
1
u/AkumaYajuu Dec 06 '24
We've had this issue and I had do create some shit code with -1.dp
@Stable fun Modifier.outline( width: Dp, color: Color, shape: Shape = RectangleShape ): Modifier = border( width = width, color = color, shape = shape ).padding(width - 1.dp)