1.TF type
android:layout_alignparentstart= "true/flase": Snaps to the left edge of the parent element
android:layout_alignparentend= "true/flase": Snaps to the right edge of the parent element
android:layout_alignparenttop= "true/flase": Snaps to the top edge of the parent element
android:layout_alignparentbottom= "true/flase": Snaps to the bottom edge of the parent element
android:layout_centerinparent= "True/flase": fully centered relative to parent element
android:layout_centerhrizontal= "true/flase": Center horizontally
android:layout_centervertical= "true/flase": Center vertically
2.ID Type
android:layout_above= "@+id/id": at the top of an element
android:layout_below= "@+id/id": located below an element
android:layout_tostartof= "@+id/id": on the left side of an element
android:layout_toendof= "@+id/id": On the right side of an element
android:layout_aligntop= "@+id/id": aligns the top edge of the element with the top edge of an element
android:layout_alignbottom= "@+id/id": aligns the bottom edge of the element with the bottom edge of an element
Android:layout_alignstart= "@+id/id": aligns the left edge of the element with the left edge of an element
android:layout_alignend= "@+id/id": aligns the right edge of the element with the right edge of an element
3.DP Type
android:layout_margintop= "XXDP": Distance from the top edge of an element XXDP
android:layout_marginbottom= "XXDP": from the bottom edge of an element XXDP
android:layout_marginleft= "XXDP": Distance to the left edge of an element XXDP
android:layout_marginright= "XXDP": Distance to the right edge of an element XXDP
android:layout_width= "XXDP":container the width of the component is XXDP
android:layout_height= "XXDP":container The height of the component is XXDP
android:text= "XXDP": The text displayed in the specified control
android:textsize= "XXDP": Text size
android:width= "XXDP": Control width
android:height= "XXDP": Control height
Android Development--layout Elements