Is it possible to apply a single-corner corner radius to a button?

Question

Coming from writing apps with eframe due to my background with Rust, this is the first time I tasked myself with building an App using official methods (Android Studio + Kotlin). However there is one annoying thing and I have no idea how to implement it. Basically I'm looking for a way to apply a corner radius for a single corner of a button, not all of them at the same time. I've found a few "solutions" online but none of them seemed to work.

Basically I'm looking for a android:cornerRadius<TopLeft,TopRight,BottomLeft,BottomRight> or similar.

I'm using the latest SDK Version (36) if that's important.

Thanks in advance.

Posted Jan 31, 2026, 1:22 PM UTC

05
Loading comments…