I want to develop dark theme for my app
I want to check for every screen if dark mode enables
How to do this?
yes, just use TinyDB to store the tag darkMode and a boolean value true or false , i.e. if the user likes to use dark mode or not and check that value in each Screen
TinyDB tutorial by Stephen
A very good way to learn App Inventor or Kodular is to read the free Inventor’s Manual here in the AI2 free online eBook App Inventor 2 Book: Create Your Own Android Apps … the links are at the bottom of the Web page. The book ‘teaches’ users how to program with AI2 blocks.
There is a free programming course here Course In A Box and the aia files for the projects in the book are here: App Inventor 2 Book: Create Your Own Android Apps
How to do a lot of basic things with App Inventor are described here: How do you...? .
Also do the tutorials Tutorials for MIT App Inventor to learn the basics of App Inventor, then try something and follow the Top 5 Tips: How to learn App Inventor
Taifun
Very Easy
1st Method
When user Clicks Btn 1 If CallTinyDbVal Nightmode=Night Then Append Data Tag Nightmode Val = Daymode. Store TinyDb Data as Tag Nightmode Val Night
Add This Step in EveryScreen
If CallValTinydb TagNight = Nightmode
Then Set All You Screen Visble Component Black and White
Else Set All Components Color To Normal
Second Mehoed
Use This Extension
If Nightmode on
Then Set all your Component Black and white
Else set to normal color