Skip to content Skip to sidebar Skip to footer

Get Actionbarsherlock Actionbarsize In Android 2.x

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

Solution 1:

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

Solution 2:

This did the trick:

android:layout_height="@dimen/abs__action_bar_default_height"

Post a Comment for "Get Actionbarsherlock Actionbarsize In Android 2.x"