Android Question add the Customview controls to my visual designer

Jithesh Mepparambath

Member
Licensed User
HI ,

how can i add customview control like below to my visual designer ?

this is showing in example project files. but when i create my own, i am not able to get this.

upload_2019-3-28_17-1-9.png



regards

Jithesh M
 

klaus

Expert
Licensed User
You need the XUI Views library, which is a b4xlibary.

If you have B4A version 9.00+
You must define an AdditionalLibraries folder with the structure below:

upload_2019-3-28_12-52-29.png


One subolder for each product: B4A, B4i, B4J and B4R at least for those you use
One subfolder B4X for b4xlibaries.
I added a subfolder for b4xlibrary XML files.

Then in the menu Tools:

upload_2019-3-28_12-50-21.png


Set the Additional Libaries folder, without the subfolder.

upload_2019-3-28_12-48-43.png


Copy the XUI Views.b4xlib file into the \AdditionalLibraries\B4X subfolder.

And check the XUI Views library in the Libraries Manager Tab.

upload_2019-3-28_12-54-47.png


Now you will see the objects in the Designer.

If you have an older version, copy the XUI Views.b4xlib file into the AdditionalLibraries folder you already have and check it in the Libraries Manager Tab.
 
Last edited:
Top