当LinearLayout的orientation设置为horizontal(水平)时,里面的button等的layout_gravity只有垂直方向的设置才有效,即:left,right,center_horizontal 是生效的。;反之,为vertical时,只有水平方向的设置才有效