New XUI View

Discussion in 'Chit Chat' started by Star-Dust, May 30, 2019.

  1. Star-Dust

    Star-Dust Expert Licensed User

    I was in love with this View

    [​IMG]

    So I started developing it, it's not easy. I have to study for a while.
    This is what I got for now
    1.gif
     
  2. Star-Dust

    Star-Dust Expert Licensed User

    I would also like to do these in the future
    [​IMG]
     
  3. Beja

    Beja Expert Licensed User

    Wow!
    So liquid.. Thanks for sharing.
     
  4. AnandGupta

    AnandGupta Active Member Licensed User

    Go Star Go ! We are your cheerleaders !!
    Fantastic. I am just spoilt for choice now :)

    Regards,

    Anand
     
  5. Star-Dust

    Star-Dust Expert Licensed User

  6. Alexander Stolte

    Alexander Stolte Well-Known Member Licensed User

    I too, but with a different view
     
  7. Star-Dust

    Star-Dust Expert Licensed User

    I already have something similar for Android, I would like to do it for XUI ... But like this you come in the image, I like it enough
     
  8. Alexander Stolte

    Alexander Stolte Well-Known Member Licensed User

    i have made it with the SetLayoutAnimated method, but the results was crap..
    [​IMG]
     
  9. Star-Dust

    Star-Dust Expert Licensed User

    You can also do it with LayoutAnimated ... maybe you did something wrong in the corner
     
  10. Star-Dust

    Star-Dust Expert Licensed User

    Since someone asked, I'm creating a ScrollView entirely written with the XUI library for B4X. I don't use ScrollView Native

    Here is a first result
    (scroll bars are missing for now)
    ezgif.com-crop.gif


    SD_XUI_ScrollView

    Author: Star-Dust
    Version: 0.01
    • XUIScrollView
      • Events:
        • ScrollChanged (X As Float, Y As Float)
      • Fields:
        • Panel As B4XView
      • Functions:
        • BringToFront As String
        • Class_Globals As String
        • DesignerCreateView (Base As Object, Lbl As Label, Props As Map) As String
          Base type must be Object
        • FullScroll (Bottom As Boolean) As String
        • GetBase As B4XView
        • Initialize (Callback As Object, EventName As String) As String
        • Initialize2 (Callback As Object, EventName As String, Width As Int, Height As Int) As String
        • Invalidate As String
        • IsInitialized As Boolean
          Verifica se l'oggetto sia stato inizializzato.
        • Parent As B4XView
        • RemoveViewFromParent As String
        • RequestFocus As String
        • ScrollPositionX (X As Float) As String
        • ScrollPositionY (Y As Float) As String
        • ScrollToNowX (X As Float) As String
        • ScrollToNowY (Y As Float) As String
        • SendToBack As String
        • SetBitmap (Bitmap As B4XBitmap) As String
        • SetColorAndBorder (Backgroundcolor As Int, BorderWidth As Int, BorderColor As Int, BorderCornerRadius As Int) As String
        • SetColorAnimated (Duration As Int, FromColor As Int, ToColor As Int) As String
        • SetLayoutAnimated (Duration As Int, Left As Int, Top As Int, Width As Int, Height As Int) As String
        • SetRotationAnimated (Duration As Int, Degree As Int) As String
        • SetVisibleAnimated (Duration As Int, Visible As Boolean) As String
        • Snapshot As B4XView
      • Properties:
        • Enable As Boolean
        • FastScroll As Boolean
        • Height As Int
        • Left As Int
        • Tag As Object
        • Top As Int
        • Visible As Boolean
        • Width As Int
     
    Last edited: Jun 3, 2019
  11. ilan

    ilan Expert Licensed User

    i really like the stuff you do and that you take such challenges, i wanted to help you with this cool view so this is what i have until now:



    what needs to be done is to add some colors and hide all points etc and make it as a xui view. that should be the simple part of this challenge :)
     
  12. Alexander Stolte

    Alexander Stolte Well-Known Member Licensed User

    looks funny, like a game :)
     
  13. ilan

    ilan Expert Licensed User

    Yeah, i also thread it as a game. I use types and put them in a list like i do in my games. The output is really nice. It can be used in many ways.
     
  14. Star-Dust

    Star-Dust Expert Licensed User

    In several of my animations I use different tricks but in reality there is little processing. Only a few have real graphical processing (for example the XUI3D library has a real processing)

    What is the final result you want to get?
     
  15. ilan

    ilan Expert Licensed User

    What is in Post #1.
     
  16. ilan

    ilan Expert Licensed User

Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice