Gets the gravity of a Layout.Alignment Can be either Gravity.START, Gravity.END, or Gravity.CENTER_HORIZONTAL