LinearLayout: layout_gravity=“bottom” not working on Horizontal LinearLayout

前端 未结 7 954
青春惊慌失措
青春惊慌失措 2020-12-02 09:07

Ok, First of all, I searched all the internet, but nobody has a similar problem like this. So, all I want is to have 3 textViews, bottom aligned with the screen and with the

7条回答
  •  被撕碎了的回忆
    2020-12-02 09:48

    If you're trying to make all three child views the same height, then change height to "0", set the android:weightSum of the LinearLayout to 3, and the set the android:layout_weight of each view to 1.

提交回复
热议问题