Get ActionBarSherlock actionBarSize in Android 2.x

actionbarsherlock, android, size

Solution

Use `?attr/actionBarSize` which will work on all API levels.

Problem

I am using ActionBarSherlock, and this XML line crashes in Android 2.x: ``` android:layout_height="?android:attr/actionBarSize" ``` Is there a way to get the ActionBarSize for ABS? Something like this maybe: ``` ?android:attr/actionBarSherlockSize ``` Thanks

Original source