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