Hi,
using agraham's pageturnview, I have the code provided in the example and edit it to show an image
instead of text. But the page is blank.
Someone point me where the bug is when I changed the original code.
Thanks in advance.
using agraham's pageturnview, I have the code provided in the example and edit it to show an image
instead of text. But the page is blank.
B4X:
If Page = 0 Then
Dim Bitmap1 As Bitmap
Bitmap1.initialize(File.DirAssets, "1.jpg")
Dim DestRect As Rect
DestRect.Initialize(10dip, 10dip, Activity.Width - 20dip, Activity.Height - 20dip)
cnv.drawbitmap( Bitmap1, Null, DestRect)
Return bmp
Thanks in advance.