Answers for "how to disable dark mode in android app programmatically"

1

How to turn off darkmode for my app in android studio

in the night\themes.xml file paste the following line under the <!-- Base application theme. -->
<item name="android:forceDarkAllowed" tools:ignore="NewApi">false</item>
Posted by: Guest on September-05-2021

Code answers related to "how to disable dark mode in android app programmatically"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language