title: How to disable night mode in my application even if night mode is enable in android 9.0 (pie)?
body: <p>I created my application before the android pie has been released, in every layout I put <code>android: background = "white"</code> it works fine in every device, but when my brother installed the application and enabled <code>night mode</code> my application becomes a disaster with one single move, everything turns into back and white movie.</p>
  
  <pre><code>&lt;style name="AppTheme" parent="Theme.AppCompat.DayNight.DarkActionBar"&gt;
      &lt;!-- Customize your theme here. --&gt;
      &lt;item name="colorPrimary"&gt;@color/COLOR_PRIMARY&lt;/item&gt;
      &lt;item name="colorPrimaryDark"&gt;@color/COLOR_PRIMARY&lt;/item&gt;
      &lt;item name="colorAccent"&gt;@color/COLOR_PRIMARY&lt;/item&gt;
      &lt;item name="cardViewStyle"&gt;@style/CardView&lt;/item&gt;
      &lt;item name="android:fontFamily"&gt;@font/helvetica&lt;/item&gt;
  &lt;/style&gt;
  </code></pre>
  
  <p>my color primary is red.</p>