Rounded corners on material button

前端 未结 7 756
粉色の甜心
粉色の甜心 2020-12-04 12:26

I\'m following the tips from questions like this to create a button style like suggested on Material Design.

However, I need to change the corner radius and

7条回答
  •  心在旅途
    2020-12-04 12:39

    Also another simple way is wrap it around cardView,Remember to set the layout_width and layout_height of the cardView to wrap_content, also all the needed margin the button will need should be applied to the cardView

    
    
                
            
    

提交回复
热议问题