Add margins to Snackbar view

前端 未结 17 1487
时光取名叫无心
时光取名叫无心 2020-12-06 16:20

I\'m updating my current app to use snackbars, in the Google spec they show various ways of using them http://www.google.com/design/spec/components/snackbars-toasts.html#sna

17条回答
  •  生来不讨喜
    2020-12-06 17:16

    It wasn't working for me programitly, so I did it from the styles.xml

    Create this style

     
    

    Add it to your parent theme