Skip to content

Border radius for android

Due to expensive nature of rounded corner clipping, on platforms before Lollipop, CardView does not clip its children that intersect with rounded corners. Instead, no border radius will be applied to the cards.

What this means for Contextual

This means that a device that is using Android Lollipop or below that is trying to display a Contextual tip or Popup will not be able to be diaplyed with the border radius applied.

For example: The below image will shows how it will look on devices that are running Android Lollipop or newer. The second image is how it will look on devices that use an Android version lower than Lollipop.

Correct border radius

Correct border radius

Note

Approximately 90% of Android devices are currently using Lollipop or higher


Last update: 2023-04-12