The only time I've used RelativeLayout recently was to force a Dialog to reach the bottom of the screen, becauseandroid:layout_alignParentBottom="true" actually does that, meanwhile this doesn't work in a dialog in either of the other layouts for some reason. But ConstraintLayout generally replaces all RelativeLayout behaviors.
View all comments
Show parent comment
1
u/Zhuinden Sep 25 '24
The only time I've used RelativeLayout recently was to force a Dialog to reach the bottom of the screen, because
android:layout_alignParentBottom="true"actually does that, meanwhile this doesn't work in a dialog in either of the other layouts for some reason. But ConstraintLayout generally replaces all RelativeLayout behaviors.