Android control properties Introduction

top Object on top of its container, without changing its size.
bottom The objects on the bottom of its container, without changing its size.
left The object in the left side of its container, without changing its size.
right The objects on the right side of its container, without changing its size.
center_vertical The longitudinal center object does not change its size. 
Vertical alignment: Align vertically.
fill_vertical When necessary to increase the longitudinal size of the object to completely fill its container 
is filled vertically
center_horizontal Laterally centered object, does not change its size. 
Horizontal alignment: Align horizontally
fill_horizontal When necessary to increase the size of the object laterally to completely fill its container 
fill level direction
center Vertical and horizontal center of the object, does not change its size.
fill When necessary to increase the horizontal and vertical size of the object to completely fill its container.
clip_vertical

Additional options, means for the top and / or bottom of the content object according to shear the shear edge of the container is provided on its longitudinal alignment: alignment when the top, bottom cut; top cut when aligned bottom; Shear addition cutting the top and bottom.

Vertical cut

clip_horizontal

Additional options, means for the left and / or right side of the content object according to the shear cut edge of the container is provided on its transverse alignment: the left side are aligned, cut right; right side left aligned shear ; addition to the left and right cut.

Horizontal cut

Guess you like

Origin blog.csdn.net/liuhongbin2011net/article/details/46546107