How to create layout with 6 buttons like windows tiles

后端 未结 4 1870
醉话见心
醉话见心 2020-12-30 09:11

I\'m trying to create a layout with 6 buttons that automatically adapt to the screen size as the tiles of windows phone. In the code I create dynamically the 6 button, 2 for

4条回答
  •  我在风中等你
    2020-12-30 09:27

    I am using the Android .v7 libraries. This xml worked for me to create the 2 columns, 3 rows layout that fills the entire screen:

    
    
    
        

提交回复
热议问题