Create Buttons, Labels, TextBoxes, Slider by code. New Font, Vertical Slider.

613 views
Skip to first unread message

Juan Antonio

unread,
Dec 26, 2017, 6:58:07 AM12/26/17
to mitappinv...@googlegroups.com
Hi friends, 

with this extension we can create Buttons, Labels, Textboxes and Sliders by code in a Layout (Arrangement).

- Features:

- Set width and hight.
- Set position in Arrangement.
- Colors.
- Rotate: 0 - 360, you can set Components in Vertical or other angle.
- Font Type Face, you can load a FTF file in asset, example: sevillana.ttf for Buttons, Labels and Textboxes, if this String is empty, font is set in Design.
- TextAlignment, number: 0 - 6
- Slider with rotate 90, is a Vertical Slider.
- Remove all, remove all views (and layout)
- List Views:
android.widget.Button{109d336ad VFED..C.. ........ 210,220-360,345 #2}

- If you create Views, then change to other Screen and then return, views are removed.

- Feliz Año Nuevo.

- Juan Antonio Villalpando.






























p194_crear_componentes.aia
com.KIO4_CreateView.aix

Abraham Getzler

unread,
Dec 31, 2017, 12:51:41 PM12/31/17
to MIT App Inventor Forum
Reply all
Reply to author
Forward
0 new messages