Default action bar elevation

前端 未结 4 590
太阳男子
太阳男子 2021-01-31 02:22

I want to use an elevation in a custom layout element and I want to set in XML the value of that element using the default action bar elevation value. I can\'t find a way to get

4条回答
  •  情话喂你
    2021-01-31 02:57

    The standard elevation of the app bar is 4dp according to material design spec. Here is the link: https://material.io/guidelines/material-design/elevation-shadows.html#elevation-shadows-shadows

提交回复
热议问题