Arranging buttons into diamond shape in android xml

前端 未结 5 356
执念已碎
执念已碎 2021-01-02 17:12

I would like to create a a screen with four buttons, each in the shape of a diamond (like a square turned 45 degrees to the side) and all four arranged into a larger diamond

5条回答
  •  别那么骄傲
    2021-01-02 17:49

    I think you're looking for something like this:

    
    
    
    
    
    
    
    
    
    

    the main point was that you needed to get rid of all those layouts

提交回复
热议问题