Если вы столкнулись с проблемой в Android Lollipop ActionBar, то в первую очередь вы должны отличаться style.xml в папке res, названной как values-v21. в этом создайте style.xml как в папке значений.
Вы не добавили родительскую тему правильно. вы должны создать style1, родителем которого является style2. В родительском стиле 2 добавьте желаемую тему, например parent="@android:style/ThemeOverlay.Material.Light"
. В манифесте добавьте стиль1 в качестве темы вашего приложения.
Взгляните на пример.
Здесь colorPrimary для панели действий,
colorPrimaryDark для уведомлений панели наружного применения,
colorAccent для собственных диалогах, как ProgressBar, вкладки и т.д.
<resources>
<style name="AppBaseTheme" parent="@android:style/ThemeOverlay.Material.Light">
<item name="android:colorPrimary">@color/material_blue_500</item>
<!-- darker variant for the status bar and contextual app bars -->
<item name="android:colorPrimaryDark">@color/material_blue_700</item>
<!-- theme UI controls like checkboxes and text fields -->
<item name="android:colorAccent">@color/material_green_A200</item>
</style>
<!-- Application theme. -->
<style name="AppTheme" parent="AppBaseTheme">
<!-- All customizations that are NOT specific to a particular API-level can go here. -->
</style>
</resources>
ваш xml-файл должен быть таким, как этот
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="info.androidhive.slidingmenu"
android:versionCode="1"
android:versionName="1.0" >
<uses-sdk
android:minSdkVersion="14"
android:targetSdkVersion="21" />
<application
android:allowBackup="true"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@style/AppTheme" >
<activity
android:name="info.androidhive.slidingmenu.MainActivity"
android:label="@string/app_name"
android:configChanges="orientation|keyboardHidden" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>
</manifest>
Вы не забыли установить эти стили «под» в качестве панели инструментов/стиля действия в теме приложения? – dominik4142