Children of a LinearLayout also have the option of specifying
android:layout_gravity. Here, the child is telling the LinearLayout “if there is
room, please slide me (and me alone) in this direction”. However, this only works in
the direction opposite the orientation of the LinearLayout – the children of a
vertical LinearLayout can use android:layout_gravity to control their
positioning horizontally (left or right), but not vertically.