B4A Library [B4X] [XUI] SD XUIView2

Dependence: SD CreativeBackground

SD_XUIView2

Author:
Star-Dust
Version: 0.14
  • B4XRangeSeekBar
    • Events:
      • ChangeValue (MinValue As Float, MaxValue As Float)
    • Fields:
      • Tag As Object
    • Functions:
      • AddToParent (PanelToAdd As B4XView, Left As Int, Top As Int, Width As Int, Height As Int) As String
      • BringToFront As String
      • Class_Globals As String
      • DesignerCreateView (Base As Object, Lbl As Label, Props As Map) As String
        Base type must be Object
      • GetBase As Panel
      • GetView (Index As Int) As B4XView
      • Initialize (Callback As Object, EventName As String) As String
      • IsInitialized As Boolean
        Verifica se l'oggetto sia stato inizializzato.
      • RemoveViewFromParent As String
      • RequestFocus As String
      • ReSetEvent (Callback As Object, EventName As String) As String
      • Rotate (AngleX As Float, AngleY As Float, AngleZ As Float) As String
      • ScrollToBottom
      • SendToBack As String
      • SetColorBase (C As Int) As String
      • SetColorLevel (C As Int) As String
      • SetColorStick (C As Int) As String
      • Snapshot As B4XView
    • Properties:
      • Enable As Boolean
      • Height As Int
      • Left As Int
      • MaxValue As Float
      • MinValue As Float
      • Top As Int
      • Visible As Boolean
      • Width As Int
  • B4XTrimmer
    • Events:
      • ChangeValue (Value As Int)
      • TouchRelease (Value As Int)
    • Fields:
      • Tag As Object
    • Functions:
      • Class_Globals As String
      • DesignerCreateView (Base As Object, Lbl As Label, Props As Map) As String
        Base type must be Object
      • GetBase As Panel
      • Initialize (Callback As Object, EventName As String) As String
      • IsInitialized As Boolean
        Verifica se l'oggetto sia stato inizializzato.
      • Rotate (AngleX As Float, AngleY As Float, AngleZ As Float) As String
    • Properties:
      • Value As Int
  • xGridListView
    • Events:
      • ItemClick (Text As String, Value As Object)
      • ItemLongClick (Text As String, Value As Object)
    • Fields:
      • HeightItem As Int
      • InfoFont As B4XFont
      • InfoTextColor As Int
      • SecondLineAlignment As String
      • SecondLineColor As Int
      • SecondLineFont As B4XFont
      • StepItem As Int
      • TextAlignment As String
      • TextColor As Int
      • TextFont As B4XFont
      • TimeAnimation As Int
      • WidthItem As Int
    • Functions:
      • Add (Text As String, SecondLine As String, Info As String, ID As Object) As String
      • AddWithImage (Text As String, SecondLine As String, Info As String, ID As Object, Image As B4XBitmap, ImageToRight As Boolean) As String
      • Class_Globals As String
      • Clear 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
      • InsertAt (Position As Int, Text As String, Info As String, ID As Object) As String
      • InsertWithImageAt (Position As Int, Text As String, SecondLine As String, Info As String, ID As Object, Image As B4XBitmap, ImageToRight As Boolean) As String
      • Invalidate As String
      • IsInitialized As Boolean
        Verifica se l'oggetto sia stato inizializzato.
      • removeAt (Pos As Int) As String
      • ScrollToBottom
      • SetCol (N As Int) As String
      • setInfo (ID As Object, Text As String) As String
      • setSecondLine (ID As Object, Text As String) As String
      • setSingleItemColorBackground (ID As Object, Color As Int) As String
      • setText (ID As Object, Text As String) As String
    • Properties:
      • Base As B4XView [read only]
      • ElementBackgroundColor As Int
      • Height As Int
      • ItemCornerRadius As Int
      • ItemCornerWidth As Int
      • ItemHeight As Int
      • ItemWidth As Int
      • Left As Int
      • MaxCol As Int [read only]
      • Size As Int [read only]
      • Tag As Object
      • Top As Int
      • Width As Int
      • WidthbetweenItem As Int
  • xListView
    • Events:
      • ItemClick (Text As String, Value As Object)
      • ItemLongClick (Text As String, Value As Object)
    • Fields:
      • HeightItem As Int
      • InfoFont As B4XFont
      • InfoTextColor As Int
      • SecondLineAlignment As String
      • SecondLineColor As Int
      • SecondLineFont As B4XFont
      • StepItem As Int
      • TextAlignment As String
      • TextColor As Int
      • TextFont As B4XFont
      • TimeAnimation As Int
    • Functions:
      • Add (Text As String, SecondLine As String, Info As String, ID As Object) As String
      • AddWithImage (Text As String, SecondLine As String, Info As String, ID As Object, Image As B4XBitmap, ImageToRight As Boolean) As String
      • Class_Globals As String
      • Clear 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
      • InsertAt (Position As Int, Text As String, Info As String, ID As Object) As String
      • InsertWithImageAt (Position As Int, Text As String, SecondLine As String, Info As String, ID As Object, Image As B4XBitmap, ImageToRight As Boolean) As String
      • Invalidate As String
      • IsInitialized As Boolean
        Verifica se l'oggetto sia stato inizializzato.
      • removeAt (Pos As Int) As String
    • Properties:
      • Base As B4XView [read only]
      • ElementBackgroundColor As Int
      • Height As Int
      • ItemCornerRadius As Int
      • ItemCornerWidth As Int
      • ItemHeight As Int
      • Left As Int
      • Size As Int [read only]
      • Tag As Object
      • Top As Int
      • Width As Int
      • WidthbetweenItem As Int



Video1.gif
Video2.gif
Video5.gif


1631459150791.gif

-
 

Attachments

  • xListView_Sample.zip
    45.6 KB · Views: 523
  • Sample1.zip
    15.3 KB · Views: 503
  • xGridListViewSample.zip
    121.2 KB · Views: 249
  • jSD_XUIView2 0.15.zip
    35.9 KB · Views: 13
  • SD_XUIView2 0.15.zip
    33.4 KB · Views: 15
  • iSD_XUIView2 0.15.zip
    323.5 KB · Views: 12
Last edited:

Star-Dust

Expert
Licensed User
Longtime User
Hmm, this can be adapted for time, you know in between X and y, let's say 13:00 and 15:50 within a 24 hours clock.

Nice one...
Also to establish a price range. As on Ebay, from a minimum to a maximum.
 

Star-Dust

Expert
Licensed User
Longtime User
Update rel 0.02
I added the Trimmer view (which was previously in the XUIView library)
Img1.png
 

ykucuk

Well-Known Member
Licensed User
Longtime User
Hello,

is it possible to set colors, min or max value by code (B4XRangeSeekBar)?
is it possible make round bigger a bit ? (B4XRangeSeekBar)?
 

Star-Dust

Expert
Licensed User
Longtime User
Hello,

is it possible to set colors, min or max value by code (B4XRangeSeekBar)?
Yes, in the 0.02 version these properties were not seen because of a small bug that was fixed at 0.03
is it possible make round bigger a bit ? (B4XRangeSeekBar)?
No, the dimensions are fixed
 

james_sgp

Active Member
Licensed User
Longtime User
Is there a way to remove the dots on the trimmer, as I want to set it to 50% and have +/- adjustments?
 

Star-Dust

Expert
Licensed User
Longtime User
Is there a way to remove the dots on the trimmer, as I want to set it to 50% and have +/- adjustments?
I'm sorry it's not possible
 

Star-Dust

Expert
Licensed User
Longtime User
update 0.08
  • Add Base Property on xListView
  • Slight gradient effect in each menu panel
 

Star-Dust

Expert
Licensed User
Longtime User
I'll be adding a new view to the library soon.

A ListView that divides items into multiple columns of a predetermined width by design or code. Also the possibility to change the background of a single element of the list. It is always a ListView because it scrolls only vertically, but more elements will be arranged per row

As well as some xListView bug fixes

1619342298452.png
 
Last edited:

Star-Dust

Expert
Licensed User
Longtime User
Update rel. 0.09
  • Fix BUGS xListView
  • add xGridListView class
Video5.gif
 

Star-Dust

Expert
Licensed User
Longtime User
Update 0.10
  • The Trimmer has been renewed to have a neon-style outline
Video6.gif
 
Last edited:

Star-Dust

Expert
Licensed User
Longtime User
Update 0.11
  • Added ElementBackgroundColor to xListView
  • Fix bug
 

Star-Dust

Expert
Licensed User
Longtime User
I have inserted (post#1) a version of XUI_View 2 recompiled for B4A 11.50.
Those who have previous versions of b4a can continue to use the previous version which will remain published for a while and then will be removed.
 

Star-Dust

Expert
Licensed User
Longtime User
I always get an error that the file
sd_creativebackground.jar is missing ?
did you read the first line of the first post?
 
Top