Get ActionBarSherlock actionBarSize in Android 2.x

后端 未结 2 1931
轻奢々
轻奢々 2021-02-08 16:50

I am using ActionBarSherlock, and this XML line crashes in Android 2.x:

android:layout_height=\"?android:attr/actionBarSize\"

Is there a way to

2条回答
  •  南方客
    南方客 (楼主)
    2021-02-08 17:25

    This did the trick:

    android:layout_height="@dimen/abs__action_bar_default_height"
    

提交回复
热议问题