Height half fill_parent xml

后端 未结 1 1506
误落风尘
误落风尘 2021-01-11 16:12

How I can do with LinearLayout height half fill_parent in xml?



        
1条回答
  •  轻奢々
    轻奢々 (楼主)
    2021-01-11 16:24

    I just want have a half of screen with 1 linearLayout and half screen with other one

    Try this

    
    
    
        
    
        
    
    
    
    

    Two linear layouts occupying half of the screen each.

    0 讨论(0)
提交回复
热议问题