Sub Activity_Create(FirstTime As Boolean)
'Do not forget to load the layout file created with the visual designer. For example:
'Dim b As Bitmap
Activity.LoadLayout("sketch")
If File.Exists(Main.folder,Form1.acctno&".jpg") = True Then
'ImageView1.Initialize("")
ImageView1.Gravity=Bit.Or(Gravity.CENTER,Gravity.FILL)
ImageView1.Bitmap=LoadBitmap(Main.folder,Form1.acctno&".jpg")
End If
End Sub
using the above code the display is landscape but the actual picture is portrait. How to display in portrait
'Do not forget to load the layout file created with the visual designer. For example:
'Dim b As Bitmap
Activity.LoadLayout("sketch")
If File.Exists(Main.folder,Form1.acctno&".jpg") = True Then
'ImageView1.Initialize("")
ImageView1.Gravity=Bit.Or(Gravity.CENTER,Gravity.FILL)
ImageView1.Bitmap=LoadBitmap(Main.folder,Form1.acctno&".jpg")
End If
End Sub
using the above code the display is landscape but the actual picture is portrait. How to display in portrait