Android Studio: Theme.Sherlock.Light.DarkActionBar cannot be resolved

来源:互联网 发布:淘宝店铺双十一宣传语 编辑:程序博客网 时间:2024/05/20 03:08

up votdown votefavorite

I have included the ABS aar, as seen here (https://github.com/JakeWharton/ActionBarSherlock-Gradle-Sample), in my project. It works fine with my classes, in my style XML, however, I get "Theme.Sherlock.Light.DarkActionBar cannot be resolved". My gradle file looks like this:

dependencies {compile 'com.actionbarsherlock:actionbarsherlock:4.4.0@aar'compile 'com.android.support:support-v4:18.0.+'}

In my style XML:

 <style name="AppTheme" parent="Theme.Sherlock.Light.DarkActionBar">    <item name="textAppearanceFinish">@style/TextAppearanceFinish</item> </style>
阅读全文
0 0
原创粉丝点击