problem in understanding wrap_content function in xml

后端 未结 2 642
不知归路
不知归路 2021-01-26 07:59

this is my code:

   

        
2条回答
  •  死守一世寂寞
    2021-01-26 08:50

    That is because you are providing weight . Remove weight and run it again . Weight let:s the textview occupy all the leftover space.

提交回复
热议问题