Ivailo Popov

unread,
Jan 21, 2016, 1:28:20 PM1/21/16
to MIT App Inventor Forum
Hi,­
I need help with AI2 ... I want to make ­a screen in my app that changes the them­e in all other screens and save after cl­osing the app... In "Theme" I mean the c­olor of labels, background color in scre­en and the text color and background col­or in any screen.
Please HELP ME!­
Thank YOU!!!!­

Taifun

unread,
Jan 21, 2016, 2:10:21 PM1/21/16
to MIT App Inventor Forum
see these threads in the AppToMarket forum https://groups.google.com/forum/#!searchin/apptomarket/theme
Taifun

Trying to push the limits of App Inventor! Snippets, Tutorials and Extensions from Pura Vida Apps by Taifun.

Ivailo Popov

unread,
Jan 21, 2016, 2:17:10 PM1/21/16
to MIT App Inventor Forum
I wasn't able to find something... 😞

Taifun

unread,
Jan 21, 2016, 3:44:36 PM1/21/16
to MIT App Inventor Forum
you can set a theme like Holo or Material design as mentioned in these threads
but probably it's not possible to switch this during runtime
you might want to ask there...
Taifun

Ivailo Popov

unread,
Jan 21, 2016, 3:52:06 PM1/21/16
to MIT App Inventor Forum
I made blocks witch changes the theme on the currect screen... When I open another screen and go back to previous it's by default... If it's possible tell me how to save it and how to change global colors... I'm sorry if I don't understand it...

Taifun

unread,
Jan 21, 2016, 4:12:27 PM1/21/16
to MIT App Inventor Forum
how did you change the theme on the current screen?
It would really help if you provided a screenshot of your relevant blocks, so we can see what you are trying to do, and where the problem may be.

Ivailo Popov

unread,
Jan 21, 2016, 5:14:32 PM1/21/16
to MIT App Inventor Forum
There is screenshot of the blocks... I think there is no need some of the blocks... I'm using my android for screenshot: https://www.dropbox.com/s/hnit4u9raxpnb0q/Screenshot_2016-01-22-00-10-55.png?dl=0
I published in gallery: ai2.appinventor.mit.edu/?galleryId=5645861989646336

Taifun

unread,
Jan 21, 2016, 5:41:09 PM1/21/16
to MIT App Inventor Forum
ok, you are not talking about a theme, you are just changing the background color and a label text color manually
use TinyDB to store the selection then coming back from the other screen read the selection again in the Screen.OtherScreenClosed event and set your colors accordingly
TinyDB tutorial by Stephen
Taifun

Trying to push the limits of App Inventor! Snippets, Tutorials and Extensions from Pura Vida Apps by Taifun.


PS: next time, please add screenshots directly into the thread instead of using an external site. thank you.


Reply all
Reply to author
Forward
0 new messages