Hi!
When create a new custom view, there is this sub
	
	
	
	
	
	
	
		
			
			
			
			
			
		
	
	
	
		
	
	
		
	
That can be used to adjust size of view. But this subs is called only when view is added using designer. there is a way to call a sub like this when a view is added programmatically?
I want to do something like Pnl.Addview(customview) as happens with all other base android view, without doing a properly method.
Is possible?
I hope i clearly explain. Thanks!
			
			When create a new custom view, there is this sub
			
				B4X:
			
		
		
		Public Sub DesignerCreateView (Base As Panel, Lbl As Label, Props As Map)
    mBase = Base
End SubThat can be used to adjust size of view. But this subs is called only when view is added using designer. there is a way to call a sub like this when a view is added programmatically?
I want to do something like Pnl.Addview(customview) as happens with all other base android view, without doing a properly method.
Is possible?
I hope i clearly explain. Thanks!
 
				 
 
		 
 
		 
 
		 
 
		