Android custom shape

后端 未结 4 492
小鲜肉
小鲜肉 2021-01-14 11:04

I know it is possible to make a shape looking something like this: \"enter

But I don\'

4条回答
  •  攒了一身酷
    2021-01-14 11:57

    Refer this doc for details and you need to use Layer List.

    Here is the code as per your image:

    custom_layer_list.xml

    
        
    
        
    
    

    topCircular.xml

    
    
    
    
    
    
    
    

    rect.xml

    
    
    
    
    
    
    

提交回复
热议问题