Dark theme & gesture navigation
summary
Android Q adds a system-wide Force Dark that claims up to 60% foreground power savings, applies at render time (opt‑in via theme attribute android:forceDarkAllowed) and works with WebView and Custom Tabs; AppCompat DayNight (AppCompat 1.1+) backports night theming to API 14 and adds AUTO_BATTERY (API 21+) and activity recreation on mode change; Material Components 1.1 supplies elevation overlays and MaterialShapeDrawable helpers; gesture nav standardizes back/home/overview, adds window insets and system‑gesture insets, and exposes setSystemGestureExclusionRects to opt small edge rects out of back handling.
AI-written summary · about
chapters (12)
- 0:00Start
- 1:37System theme setting
- 19:39Map styles
- 20:28Illustrations
- 21:24Notifications
- 22:00DARK THEME TL;DR
- 31:23System gesture
- 32:56What conflicts might apps face?
- 33:38Overriding gestures
- 36:36Navigation drawers
- 37:05Bottom sheets
- 39:12Landscape
related talks
37mGoing edge-to-edge with Gesture Navigation
30mDo Not Go Gentle in That Good Night - Implementing a Dark Theme on Android
41mWhat is new with UI in Android Q. New Features and APIs.
28mBuilding for the Future of Android
12mDesigning a high quality app with the latest Android features
44mDeveloping in the Dark
29mWhat's new in Android
33mGesture navigation best practices
