Hi again Makeroid Community,
So I’m developping an app, and I wanted to add a “night mode” and “light mode”.
In order to do this I worked with the storage, as you can see.
(Screen1 is my launch screen)
(Accueil is the screen where the switch is located and also the menu screen)
But I would like to know if there was a better alternative ? Like a settings menu or something like that.
Because with this method, the application is forced to request access to the storage, which may bother some.
To briefly explain how this works
With a switch, the user can choose to activate or deactivate the mode.
When the mode is activated, the application creates a .txt file and launch the first screen(Screen1), in order to apply the changements…
As a result, each time we change screen, the application checks if the file is there and applies accordingly the orders given by the blocks.
When the mode is deactivated, the application delete this file, relaunch the screen, and everything goes back to what it was.
I don’t know if my English and explanations where good enough (I’m French) and I’m sorry if it’s not the case.
Hope I can get advices from you !