TestTheme Example -- after replacing
MainActivity.kt with the file for this example, run the app. Then, in Settings,
change from Light Theme to Dark Theme and run the app again. To change the light theme, go to Settings >> Display & touch.
Use the switch to change between Light Theme and Dark Theme.
MainActivity.kt
Then find
and view these files:
res/values/themes.xml
kotlin+java/it372.ssmith.testtheme/ui.theme/Color.kt
kotlin+java/it372.ssmith.testtheme/ui.theme/Theme.kt
kotlin+java/it372.ssmith.testtheme/ui.theme/Type.kt
Use the package name for your project.