Rectangle inside another rectangle

前端 未结 1 1515
一生所求
一生所求 2021-02-10 05:24

Is it possible to create drawable from xml like on the picture? The first rectangle contains a second rectangle.

If yes, please explain to me how.

1条回答
  •  感情败类
    2021-02-10 05:42

    If you want simple rectangles you could use a LayerList with two shapes as content:

    
    
        
            
                
            
        
        
            
                
            
        
    
    

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