andreluizreis
7/11/2017 - 8:33 PM

Layout_gravity x gravity

Layout_gravity x gravity

android:gravity -> sets the gravity of the content of the View its used on.

android:layout_gravity -> sets the gravity of the View or Layout in its parent.