My theme is not working I have seen this How do I change the background color of the ActionBar of an ActionBarActivity using XML? but not working
still grey only SplahScreen activity changed but MainActivity extend FragmentActivity
not:
Manifest:
<application
android:largeHeap="true"
android:name="asasdsd.asdasdas"
android:allowBackup="true"
android:icon="@drawable/ic_launcher2"
android:label="@string/app_name"
android:theme="@style/MyTheme"
>
<activity
android:name="app.sultan.sdcinfo.SplashScreen"
android:label="@string/app_name" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:name="app.sultan.sdcinfo.MainActivity"
android:label="@string/app_name"
android:theme="@style/MyTheme"
>
</activity>
<uses-sdk
android:minSdkVersion="11"
android:targetSdkVersion="21" />`
I have localization and add theme file in every Language also in value-11 still not changed:Theme.xml
`<style name="MyTheme" parent="@android:style/Theme.Holo.Light">
<item name="android:actionBarStyle">@style/MyActionBar</item>
</style>
<style name="MyActionBar" parent="@android:style/Widget.Holo.Light.ActionBar">
<item name="android:background">#262626</item>
</style>`
Tried with getActionbar.setBackgroundDrawable(new ColorDrawable("COLOR"));
please look my project structure:splash screen activity then Main activity wich include navigation drawer with fragments in activitis color background changed but not in the fragment