Sourabh Sourabh - 3 months ago 13
Android Question

Difference between android:layout_alignParentTop and android:layout_alignParentStart

The documentation says:


android:layout_alignParentStart

If true, makes the start edge of this view match the start edge of the parent.


and


android:layout_alignParentTop

If true, makes the top edge of this view match the top edge of the parent.


So what's the difference between start edge and top edge?

I'm sorry if this question is already answered, I just couldn't find it. Blame my poor Googling skills.

Answer

As far as I know Layout attributes ending with "Start" are used to match the start of content direction like supporting RTL texts where the start of the View is not the default.