B4J Library [B4X] [XUI] SD ImageViewMultiple

Star-Dust

Expert
Licensed User
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 ---------
Video1.gif
Video2.gif
Video3.gif


upload_2019-5-30_20-58-52.png

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

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:

Star-Dust

Expert
Licensed User
Update rel 0.02
 
Top