Top "Android-percentrelativelayout" questions

Subclass of RelativeLayout that supports percentage based dimensions and margins.

Center a LinearLayout and "percentage" margins

Edit: I have received already two comprehensive answers regarding fixed margins. While I've decided altogether to use fixed margins instead …

android android-layout margin centering android-percentrelativelayout
How to use layout_aspectRatio in the PercentRelativeLayout?

I try to achieve a 16:9 aspect ratio on a view with the PercentRelativeLayout. So I have put this line in …

android android-layout android-constraintlayout android-percentrelativelayout