In xml, you can use ?attr/actionBarSize, but if you need access to that value in Java…