Can't get proper layout with “fill_parent”

前端 未结 4 435
一向
一向 2020-12-31 14:26

I\'m trying to create this simple layout in Android.

\"enter

A

4条回答
  •  囚心锁ツ
    2020-12-31 15:00

    the trick, use a relative layout ... here's an example (off the top of me head - not checked and missing height fields and vertical align settings to make it easy to see the important stuff).

    
        
        
        
    
    

    edit: here it is with the typos cleaned (and it is tested as working)

    
    
    
    
    
    

提交回复
热议问题