Skip to first unread message

Marc

unread,
Oct 14, 2014, 2:09:46 PM10/14/14
to mitappinv...@googlegroups.com
Hi all,

May I know if app inventor is able to create a border? 

Thank you

Enis

unread,
Oct 14, 2014, 6:32:02 PM10/14/14
to mitappinv...@googlegroups.com
A border around what?

Marc

unread,
Oct 14, 2014, 7:43:50 PM10/14/14
to mitappinv...@googlegroups.com
A border around buttons, labels and images

SteveJG

unread,
Oct 14, 2014, 7:53:58 PM10/14/14
to mitappinv...@googlegroups.com
There is no layout tool to make a boarder around controls this with the native Ai2 controls.  There are ways to 'simulate' a border by using a Canvas with a background image and using sprites as 'buttons' put inside borders drawn on the background image..    AI2's layout controls are not very sophisticated, as a result, users seem to find all kinds of ways of designing appropriate screens using a combinations of labels, buttons, images in buttons and using labels and buttons (without text) as 'spacers.'

A simple way to simulate a border around a button is to place an image in the button that has a small 'border' on the image. Actually, that is a border inside the label.   Try some stuff.     To do things like this you need a compiler with fancier layout controls like Eclipse or Android Studio or to design the feature yourself in your 'own' version of AI2 .... the code is opensource.   http://appinventor.mit.edu/appinventor-sources/ 


Regards,
Steve


Reply all
Reply to author
Forward
0 new messages