Strange behavior of styles (Themes) in Android <p>I got this styles for my Android app:</p> <pre><code>&lt;resources&gt; &lt;!-- Base application theme. --&gt; &lt;style name="AppTheme" parent="Theme.AppCompat.Light.NoActionBar"&gt; &lt;item name="colorPrimary"&gt;@color/colorPrimary&lt;/item&gt; &lt;item name="colorPrimaryDark"&gt;@color/colorPrimaryDark&lt;/item&gt; &lt;item name="colorAccent"&gt;@color/colorAccent&lt;/item&gt; &lt;item name="android:windowBackground"&gt;@color/background_new&lt;/item&gt; &lt;item name="android:textColorPrimary"&gt;@color/colorAccent&lt;/item&gt; &lt;item name="android:textColorHint"&gt;@color/colorAccentHint&lt;/item&gt; &lt;!-- Customize your theme here. --&gt; &lt;/style&gt; &lt;style name="MyToolBar" parent="Widget.AppCompat.ActionBar"&gt; &lt;!-- Support library compatibility --&gt; &lt;item name="android:textColorPrimary"&gt;@color/colorAccent&lt;/item&gt; &lt;item name="android:textColorSecondary"&gt;@color/colorAccent&lt;/item&gt; &lt;item name="colorControlNormal"&gt;@color/colorAccent&lt;/item&gt; &lt;/style&gt; &lt;!-- Custom searchView may be used or not--&gt; &lt;style name="SearchViewStyle" parent="Widget.AppCompat.SearchView"&gt; &lt;!-- Gets rid of the search icon --&gt; &lt;item name="searchIcon"&gt;@null&lt;/item&gt; &lt;!-- Gets rid of the "underline" in the text --&gt; &lt;item name="queryBackground"&gt;@null&lt;/item&gt; &lt;!-- Gets rid of the search icon when the SearchView is expanded --&gt; &lt;item name="searchHintIcon"&gt;@null&lt;/item&gt; &lt;!-- The hint text that appears when the user has not typed anything --&gt; &lt;!--&lt;item name="closeIcon"&gt;@null&lt;/item&gt; --&gt; &lt;/style&gt; &lt;style name="MyCustomTabLayout" parent="Widget.Design.TabLayout"&gt; &lt;item name="tabTextAppearance"&gt;@style/MyCustomTabText&lt;/item&gt; &lt;/style&gt; &lt;style name="MyCustomTabText" parent="TextAppearance.Design.Tab"&gt; &lt;item name="android:textSize"&gt;12sp&lt;/item&gt; &lt;/style&gt; &lt;style name="AppTheme.AppBarOverlay" parent="ThemeOverlay.AppCompat.Dark.ActionBar" /&gt; &lt;style name="AppTheme.PopupOverlay" parent="ThemeOverlay.AppCompat.Light" /&gt; &lt;style name="NavDrawerTextStyle" parent="Base.TextAppearance.AppCompat"&gt; &lt;item name="android:textSize"&gt;12sp&lt;/item&gt; &lt;/style&gt; &lt;style name="MyCheckBox" parent="Theme.AppCompat.Light.NoActionBar"&gt; &lt;item name="colorControlNormal"&gt;@color/colorPrimaryTransparent&lt;/item&gt; &lt;item name="colorControlActivated"&gt;@color/colorAccent&lt;/item&gt; &lt;/style&gt; &lt;style name="AppCompatAlertDialogStyle" parent="Theme.AppCompat.Light.Dialog.Alert"&gt; &lt;item name="colorAccent"&gt;@color/colorAccent&lt;/item&gt; &lt;item name="android:textColorPrimary"&gt;@color/colorAccent&lt;/item&gt; &lt;item name="android:background"&gt;@color/background1&lt;/item&gt; &lt;item name="android:buttonStyle"&gt;@style/MyApp.BorderlessButton&lt;/item&gt; &lt;/style&gt; &lt;style name="MyApp.BorderlessButton" parent="@style/Widget.AppCompat.Button.Borderless"&gt; &lt;item name="android:textSize"&gt;12sp&lt;/item&gt; &lt;/style&gt; &lt;style name="MyRadioButton" parent="Theme.AppCompat.Light"&gt; &lt;item name="colorControlNormal"&gt;@color/colorAccent&lt;/item&gt; &lt;item name="colorControlActivated"&gt;@color/colorAccent&lt;/item&gt; &lt;/style&gt; </code></pre> <p></p> <p>Normally i have transparent background on <strong>Toolbar</strong> of <strong>NavigationDrawler</strong> menu items click.</p> <p>But sometimes theme in my app changes to <strong>Holo theme</strong> , and i can figure it out when its happens , so when i press menu items in <strong>Toolbar</strong> or in <strong>NavigationDrawler</strong> their background become blue, like in <strong>Holo theme</strong></p> <p>Where i have mistake and why its happens?</p>