I need to have actionbar size in the dimens resources folder , I need to have different size for different api version .
I've tried these code but all of then ran into an error :
?android:attr/actionBarSize
?attr/actionBarSize
?actionBarSize
when I launch the app ,I get this error :
You must supply a layout_height attribute.
how can I put actionbar size in the resource folder ?