Android Percentage Layout Height

后端 未结 5 928
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-08 03:49

I know that it is impossible to set percentages and that you can set a weight of certain images to scale their heights. What I am trying to do though is specify the height o

5条回答
  •  半阙折子戏
    2020-12-08 04:44

    You could add another empty layout below that one and set them both to have the same layout weight. They should get 50% of the space each.

提交回复
热议问题