Skip to content

Instantly share code, notes, and snippets.

@Isabellle
Last active November 21, 2016 15:57
Show Gist options
  • Save Isabellle/46d652ba5449d5947a7a4aac4e31d1c6 to your computer and use it in GitHub Desktop.
Save Isabellle/46d652ba5449d5947a7a4aac4e31d1c6 to your computer and use it in GitHub Desktop.
Layout Gravity tips
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment