布局
_gravity的意思是,你正在指定
布局s
attribute, not the element inside. In some conditions, such as 布局_width and 布局_height is wrap_content, 布局 specifications can give what you want about the element inisde your 布局, since the boundries of the 布局 and the element (not element
s
)是一样的。