Android - make an arrow shape with xml

前端 未结 3 763
不知归路
不知归路 2020-11-30 04:02

I want to make a button for my shape like this one

\"enter

Is there a way to d

3条回答
  •  暖寄归人
    2020-11-30 04:46

    With the Material Components library you can just use the standard MaterialButton defining the shapeAppearanceOverlay attribute:

    Something like:

      
    

    And in your style define:

      
    

提交回复
热议问题