rust-windowing / winit

Window handling library in pure Rust
https://docs.rs/winit/
Apache License 2.0
4.87k stars 910 forks source link

Android: Implement `Window::theme` and `WindowEvent::ThemeChanged`. #3995

Open xorgy opened 1 week ago

xorgy commented 1 week ago
xorgy commented 1 week ago

So I've tried this on device now, and the Window::theme implementation works, except that at least with NativeActivity we don't get a new Configuration at runtime even if the theme changes (yes, with uiMode in android:configChanges).