I have written this code in activity in AndroidManifest.xml file -
android:configChanges="orientation|screenSize|screenLayout|keyboardHidden|uiMode|colorMode|smallestScreenSize"
But when I change the UI Mode, the app remains in the same mode and ya activity doesn't restart, but the thing is that the app is remaining in the same UI mode even I have changed the UI mode. So what should I do so that the app also change its mode..
Video of What is happening
Video of What I want
Please Help
1.4m articles
1.4m replys
5 comments
57.0k users