Android material design buttons - Pre lollipop

后端 未结 8 2162

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:22

    You may also need to add a bottom margin to your button, in order to be able to see the raised-button shadow effect:

    @dimen/activity_vertical_margin
    1dp
    

提交回复
热议问题