How to determine if an Android app is using light mode or dark mode
To check if an Android app is using Dark Mode or Light Mode in Kotlin, use the function isSystemInDarkTheme().

Written by Oscar de la Hera Gomez
First published on 06/12/2023 at 18:25
Last Updated on 06/12/2023 at 18:33

To check if an Android app is using Dark Mode or Light Mode in Kotlin, use the function isSystemInDarkTheme().
SubscribeDownload Open Source Kotlin Starter Project
A sample use of isSystemInDarkTheme() can be found in the Theme.kt file within our Open Source Repository.
isSystemInDarkTheme()
Any Questions?
We are actively looking for feedback on how to improve this resource. Please send us a note to inquiries@delasign.com with any thoughts or feedback you may have.
SubscribeContact UsVisit our BlogView our ServicesView our Work