I'm using android support v7 appcompat library (version 22.2). I have set a theme to my toolbar:
<android.support.v7.widget.Toolbar
...
app:popupTheme="@style/ThemeOverlay.AppCompat.Light"
app:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar" />
And set theme for app:
<style name="Theme.MyTheme" parent="Theme.AppCompat.Light.NoActionBar">
<item name="colorPrimary">@color/material_orange_500</item>
<item name="colorPrimaryDark">@color/material_orange_800</item>
<item name="colorAccent">@color/material_orange_500</item>
</style>
That's what I saw in version 21 in portrait mode and same in landscape mode
But in version 22.2 I see wrong background in in landscape mode (but right in portrait mode)
How can I fix this bug?