In the customization of layout properties in Android Studio, I noticed that there is gravity
and layout_gravity
, both have the name gravity
, so I'm a little confused as to its features.
That is, what are the differences between android:layout_gravity
and android:gravity
?
How can each one be used, and what visual effects their properties can cause in the android application layout?