Android 布局左中右布局

  1. 首先在LinearLayout·中设置了orientation为horizon,试着layoutGravity:left right是无效的。
  2. 解决办法是 中间设置layout_weight为1
相关文章
相关标签/搜索