Gravity indicates how to place an element inside the element itself, and not in the boundaries of the parent (screen).
, 50 , 100 TextView, , 100 ( ).
LinearLayout , "dip" , ( ).
Relative Layout android: layout_alignParentLeft android: layout_alignParentRight.
, "dip" ( ), "px" .
, , "dp". "dip" .