Supporting mobile usability with Dark Theme and Gestures in Android Q
Learn Android Q’s new customization and navigation features, including the UI patterns for offering dark themes and how to implement both light and dark themes in a manageable way, and the new gestural system navigation showing you how to update apps to work seamlessly, drawing edge-to-edge.
DayNight — Adding a dark theme to your app
This post has been updated multiple time since first publishing. The content is correct as-of March 13th 2019. The DayNight functionality in AppCompat allows your app to easily switch between a dark ⚫ and light ⚪ theme. This has many benefits for your users, especially if you have a content-heavy app (such as a Reddit client). How do I use it? You need to change your theme to extend from one of the DayNight variants, and then call one method to enable the feature. Here’s an example theme decla