how to make a capsule shape Button in android?

后端 未结 7 2027
一整个雨季
一整个雨季 2021-01-31 15:56

I want to make a button exactly like in this image

\"Capsule

I want to use a xml file that will us

7条回答
  •  悲&欢浪女
    2021-01-31 16:28

    Just use a MaterialButton using the app:cornerRadius attribute and your favorite width.

     
    

提交回复
热议问题