Android Question Imageview as B4x

rgarnett1955

Active Member
Licensed User
Longtime User
Hi

I am using an image view in B4A and wish to change the alpha value of the image:

B4X:
Private imgClear As B4XView
    
public Sub setToolBarAlpha(alphaArg As Int)

imgClear.Alpha  
    
End Sub

I found this link for b4J:

Set alpha of an image



Example code for B4J:
Dim n As ImageView = AnyB4XView
n.Alpha = 0.6



But when I try to do the same I find there is no method.

Is it possible to change the alpha of the image for an image view?

Best regards
Rob
 
Top