Android material design buttons - Pre lollipop

后端 未结 8 2163

How do I implement the \"raised button\" and the \"flat button\" as described in google\'s material design guidelines?


Raised buttons add dimension

8条回答
  •  温柔的废话
    2021-01-29 20:15

    In order to implement the flat buttons, you could just add style="?android:attr/borderlessButtonStyle".

    Example:

    Here's the reference for the attribute.

提交回复
热议问题