To create Customview library/object,

Just zip the controller.bat (Customview) and 
designer file(contlayout.bal) to controller.zip
with structure as such : 

ZIP File
--> Controller.bas
--- [Files]
       |
        ----> contlayout.bal


then 

rename.zip file to .b4xlib
