This new view allows you to insert up to 4 images and be viewed simultaneously in a view potion (See example images)
The images are inserted with a small animation that makes the image look like clock hands.
--------- 2 imeges ----------------- 3 images ----------------- 4 images ---------
SD_ImageViewMultiple
Author: Star-Dust
Version: 0.02
And it is also possible to rotate the portions displayed with the rotate command.
The images are inserted with a small animation that makes the image look like clock hands.
--------- 2 imeges ----------------- 3 images ----------------- 4 images ---------
SD_ImageViewMultiple
Author: Star-Dust
Version: 0.02
- SD_ImageViewMultiple
- Fields:
- TimeLapse As Int
- Functions:
- AddImage (B As B4XBitmap)
- Class_Globals As String
- ClearImage As String
- DesignerCreateView (Base As Object, Lbl As Label, Props As Map) As String
Base type must be Object - Initialize (Callback As Object, EventName As String) As String
- Invalidate
- InvalidateAnimate
- IsInitialized As Boolean
Verifica se l'oggetto sia stato inizializzato. - Rotate
- AddImage (B As B4XBitmap)
- Fields:
B4X:
SD_ImageViewMultiple1.ClearImage
SD_ImageViewMultiple1.AddImage(xui.LoadBitmap(File.DirAssets,"b4a.png"))
SD_ImageViewMultiple1.AddImage(xui.LoadBitmap(File.DirAssets,"b4j.png"))
SD_ImageViewMultiple1.AddImage(xui.LoadBitmap(File.DirAssets,"b4i.png"))
SD_ImageViewMultiple1.AddImage(xui.LoadBitmap(File.DirAssets,"b4x.png"))
And it is also possible to rotate the portions displayed with the rotate command.
B4X:
SD_ImageViewMultiple1.Rotate
Attachments
Last edited: