LordZenzo Well-Known Member Licensed User Longtime User Feb 7, 2017 #1 un saluto a tutti volendo aggiungere una customview da me creata da codice come si fa? panel1.addview(miacustom,0dip,0dip,100dip,100dip) da errore
un saluto a tutti volendo aggiungere una customview da me creata da codice come si fa? panel1.addview(miacustom,0dip,0dip,100dip,100dip) da errore
Cableguy Expert Licensed User Longtime User Feb 7, 2017 #2 you need, inside your custom view, to add a "AddToParent" method... take this as a base for your project : https://www.b4x.com/android/forum/threads/my-customview-template-with-addtoparent.67918/
you need, inside your custom view, to add a "AddToParent" method... take this as a base for your project : https://www.b4x.com/android/forum/threads/my-customview-template-with-addtoparent.67918/