Wish Idea for the Designer

aaronk

Well-Known Member
Licensed User
Longtime User
Hello,

It would be good to have a designer just like Visual Studio. The options along the side and you can drag and drop the object (button, image etc.) to the layout.

But then allowing you to double click the item to add code for that item and store it within the layout.

So each layout would then become it's own Activity (or known as a Form in Visual Studio) then the code can be kept inside that layout rather than having to create the layout, then call that layout in the Activity then having to add the code in that Activity for that layout you just created.

This way you can just open the designer to see what the screen is going to look like, then double clicking the item to see what that item is going to do when someone presses that button/object etc.

If the user wants to use the same layout but have different code then they will have to create another form, and copy and paste the layout onto that other form.

I understand having the designer like how it is now, allows you to load lets say 3 layouts onto the one screen but having it like Visual Studio would be more powerful and easier to use.
 

Informatix

Expert
Licensed User
Longtime User
So each layout would then become it's own Activity (or known as a Form in Visual Studio) then the code can be kept inside that layout rather than having to create the layout, then call that layout in the Activity then having to add the code in that Activity for that layout you just created.

With VB, the form and its code are two sides of the same coin. The layout of B4A has a different concept. It's a visual brick that you can reuse in many activities (or panels). It's not bound to a particular activity and it doesn't always fill the activity. What you ask is in fact an activity designer, which would be different from the current layout designer. A new tool which would be similar to the designer provided by Eclipse ADT or Android Studio.
 

aaronk

Well-Known Member
Licensed User
Longtime User
I guess adding a new feature called 'activity designer' would be good.
That way we can still use the current layout designer and also use a activity designer to create our Activity's in a GUI view rather than just code only.
 
Top