hello i was just working on my project but i want to duplicate my screen 1 like everything the blocks and design to be in a new screen i was just wondering if there any shortcut to do this
Ramon
May 14, 2024, 8:27am
2
This tutorial will show you how to copy a screen in MIT App Inventor. This is useful when you need to have similar screens in your app. The same thing applies to duplicating blocks or components in your project.
Go to the screen that you want to copy.
Select the screen in the Components list, which is betweeen the Viewer and Properties.
Hit the 'Copy' combination on your PC (for example, Windows is Ctrl+C)
Create a new screen. Your copied components will place here.
Hit the 'Paste…
Read the entire topic carefully because like is explained in the topic, somethings, like procedures, need to be copied manually:
Yes, it does not work with definitions. You will have to manually copy them to your Backpack (drag it to the backpack at the top right of your blocks editor workspace).
Taifun
May 14, 2024, 12:43pm
4
copying screens is not the way to go
if you think, you should copy a screen, then you are doing something wrong
follow the DRY principle of programming - Don't repeat yourself
see also tip 1 here
This list was made by @Taifun
Use different screens wisely
Before starting to create another screen, first you should think about is it really necessary? See also Building apps with many screens and SteveJG's post about advantages/disadvantages , because in only one screen you also can use vertical arrangements to simulate different screens, just set the arrangements to visible = true/false as needed...
If you decided to use different screens, then you should switch them correctly, else you …
and Building Apps with Many Screens
Taifun