Help on ImageView !

parijs

Active Member
Licensed User
Longtime User
Hi,
I want some help about this

I have a pnlHelp.LoadLayout("ScrollView2")
Whit Designer I put a Panel1 and a ImageView3

This is my code it give no error but also no Image

B4X:
Activity.LoadLayout("HelpScrollView")
      pnlHelp.LoadLayout("ScrollView2")
   scvHelp.Panel.LoadLayout("mus"&main.k)      
   
   
      Dim Bitmap1 As Bitmap
      Panel1.Initialize("")
Bitmap1.Initialize(File.DirAssets,"Icon.png")

ImageView3.Initialize("")
Panel1.AddView(ImageView3,5dip,5dip,65dip,65dip)
ImageView3.Bitmap = Bitmap1

:sign0085:
 
Top