KIO
Kreative Ideen online
android:layout_gravity

android:layout_gravity

android:layout_gravity lets you say where you want views to appear in their available space.

android:layout_gravity deals with the placement of the view itself

whereas android:gravity controls how the view’s contents are displayed
ValueWhat it does
top, bottom, left, rightPuts the view at the top,bottom,left, or right of its available space.
start,endPuts the view at the start or end of its available space.
centerCenters the view vertically and horizontally in its available space.
fill_vertical, fill_horizontalGrows the view so that it fills its available space vertically or horizontally.
fillGrows the view so that it fills its available space vertically and horizontally.