Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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.

like image 438
Sourabh Avatar asked Oct 21 '14 18:10

Sourabh


1 Answers

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.

like image 177
Helmi Avatar answered Nov 10 '22 16:11

Helmi