Creating a rectangle shape with only two rounded edges

前端 未结 7 683
难免孤独
难免孤独 2021-02-01 03:26

I can create a shape that is a rectangle with all edges rounded. However, what I\'m wanting is a rectangle shape with only 2 of the edges rounded. Is this possible?

I\

7条回答
  •  深忆病人
    2021-02-01 03:56

    
    
    
    
    

    This code is just working (since?) Android version 2.2. Referring to the documentation, the code should look like the following:

    
    
    
    
    

提交回复
热议问题