Creating a rectangle shape with only two rounded edges

前端 未结 7 688
难免孤独
难免孤独 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条回答
  •  梦毁少年i
    2021-02-01 03:55

    I changed the android:radius attribute to android:topRightRadius and android:topLeftRadius

提交回复
热议问题