Last active
March 1, 2016 21:37
-
-
Save timmutton/afd4562548516a6028a3 to your computer and use it in GitHub Desktop.
Sample Application class that adds day/night support
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class DayNightApplication extends Application { | |
static { | |
AppCompatDelegate.setDefaultNightMode(AppCompatDelegate.MODE_NIGHT_AUTO); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment