How to use set ForceDarkAllowed(false); in android studio Code Example
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);
}
}