Answers for "how to use set ForceDarkAllowed(false); in android studio"

0

how to use set ForceDarkAllowed(false); in android studio

public class MyApplication extends Application {
    
    public void onCreate() {
        super.onCreate();
        AppCompatDelegate.setDefaultNightMode(AppCompatDelegate.MODE_NIGHT_NO);
    }
}
Posted by: Guest on September-05-2021

Code answers related to "how to use set ForceDarkAllowed(false); in android studio"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language