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
Use ?attr/actionBarSize
which will work on all API levels.
This did the trick:
android:layout_height="@dimen/abs__action_bar_default_height"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With