If you change the visibility of the views to false they won't show on the designer scripts screen.
I understand True = Show & False = Hide, but it still shows on your devices screen when using the designer.
Try this for me..
Download the Demo project attached to this post.
Without changing anything connect the designer to your phone/device.
Press the designer scripts tab in the designer.
Notice it shows the panel and label. (as it is set to True, So far so good..)
Click on the main tab and then click label1, You will notice that the parent is set to Panel1
Now click on Panel1 and set the visible to False (which should hide the panel and all object inside that panel when we run the script/layout)
Leave label1 (keep that visible to True)
Now run the designer script
Panel1 is gone, and label1 is also not showing in the Abstract designer. (Label1 parent is set to be panel1, that's why its not showing.. so far so good)
But look on your phone/device. The label is still showing!
I would of thought since the label is part of the panel it would also be hidden since the panel is hidden (set to false).
If you now call/load that layout in your Main Activity and run it, you will see that the label and panel is not shown as the panel's visible is set to False. (which is correct)
Loading and showing it in your Main activity it is working as you expect, when you run it using the designer the label is still shown on your device.
Hopefully this explains it a little better?