Can't Find Theme.AppCompat.Light for New Android ActionBar Support

后端 未结 30 2496
误落风尘
误落风尘 2020-11-22 09:22

I am trying to implement the new ActionBar support library that was released by Google a couple days ago. In the past, I have successfully implemented ActionBarSherlock wit

30条回答
  •  生来不讨喜
    2020-11-22 10:05

    You need to do next:

    1. File->Import (android-sdk\extras\android\support\v7). Choose "AppCompat"
    2. Project-> properties->Android. In the section library "Add" and choose "AppCompat"
    3. That is all!

    Note: if you are using "android:showAsAction" in menu item, you need to change prefix android as in the example http://developer.android.com/guide/topics/ui/actionbar.html

提交回复
热议问题