Wallpaper app with modern look and like system. I also added dark & light mode for easy use in dark.
To make app look cooler & to have a full view of the app, I made Status bar & Navigation bar transparent. [Thx to this post for this = Transparent status bar and navigation bar with content behind]
on settings screen when I choose dark, I saved dark in tinyDB. And when I choose light I saved light in tinyDB.
Now when I load a screen first I see which value is saved in tinyDB and according to that I change color.
Please make tutorial or show your block images for understanding.
I try in my app but it’s not working perfectly so you can please show me your blocks images of dark mode
whenever you load a screen or app, first of all check if tinyDB is empty or not. You have to check this everytime you load a screen. If it is empty then load light mode content (like light background, dark icons & fonts, etc). If tinyDB is not empty then simple load dark mode content.
Make a separate screen to change modes or you can add this option in the one of your screen also. Now when user selects Dark mode, then fill that tinyDB with some value and when user selects Light mode, then delete that value from tinyDB.
If you add this option in one of your screen, then after selecting any mode reload the screen.