xui

  1. MarkusR

    B4J Question how to handle Forms in XUI ?

    hello, i using classes for shared code at b4j and b4a. i like to have the classes independent that they can open/close his form self. currently i open the form outside and give it to the class (same as tutorial), but that did not make me happy because i need call a sub to close the form from...
  2. MarkusR

    B4J Question b4x,xui listview?

    hello , what is the equivalent for a multi column listview similar to vb6 in b4x / xui ? As ListView > As B4XView ? i need a b4x list view for b4j & b4a i have a type that represent the columns, except the byte array. Type Entry(Id As Int,Name As String,Url As String,Password() As...
  3. G

    Wish Expose HintText and SetTextSizeAnimated in B4XView

    Hi Erel The title says it all Now I use to write code like this: Sub SetHeader(oText As Object) #IF B4a Dim tText As EditText = oText tText.Hint = Translate("Enter Values") ' defined somewhere, not important #Else If B4i Dim tText As TextField = oText tText.HintText =...
  4. Star-Dust

    B4A Library [BAX] [XUI] SD XUI_View3D (Demo)

    I created a library to display polygons in 3D. It is also possible to use it to create 3D XUI views. This library can be used to create 3D models from code or load them from obj files. To create a 2D drawing app, to create games, animations, introductions, and 3D effects This is a demo version...
  5. M

    B4J Question How to invalidate pane in B4J (xui)?

    I have started to port B4A code to B4J and used xui to do so. But in the B4A code I had an option to invalidate a view, or invalidate2 and invalidate3 to redraw panels in B4A. But when I started to convert the code to b4x, I found that B4X view or Pane view does not provide any option to redraw...
  6. M

    Android Question How to invalidate pane in B4J (xui)?

    I have started to port B4A code to B4J and used xui to do so. But in the B4A code I had an option to invalidate a view, or invalidate2 and invalidate3 to redraw panels in B4A. But when I started to convert the code to b4x, I found that B4X view or Pane view does not provide any option to redraw...
  7. Star-Dust

    Android Code Snippet [BAX] [XUI] BitmapCreator - DrawLine, DrawPath , DrawCircle, DrawArc, DrawImageTrapezoid

    BitmapCreator lacks some important instructions on Canvas. Sometimes switching from BitmapCreator to Canvas and vice versa would slow down the code too much, so it would be better to implement them with BitmapCreator. I started writing some divers, if someone finds a way to improve it or add...
  8. ShaneG30

    B4J Question [XUI] xCustomListView: Set Alignment?

    Is it possible to set the alignment (Left, Center, Right) of the items in "xCustomListView"?
  9. Star-Dust

    [XUI] 3D, rotations and pivots

    So far I've used the native Android commands to rotate the views according to the X, Y, and Z axes. The native commands let you change the X and Y coordinates of the Pivot point and get this. But to get a rotating cube it is not enough to be able to rotate on three axes but you have to be...
  10. LucaMs

    B4A Library [B4X][XUI] ExpandView - source code

    Attached the version 2.0 (not compatible with the 1.0) - b4a code module and library (see post #6). This version allows to also collapse a B4XView. Premise: I wanted to create an animation; it did not work the first time and then, from the wrong code, I wrote these few lines, nothing special...
  11. ivan.tellez

    Android Code Snippet [B4X] [XUI] Canvas Draw Round Rect, Arcs, Ovals

    XUI v1.60 introduces a new method: DrawPath With this, now we have more options to draw: Arc Oval RoundRect LineTo Just consult the documentation of each method of the B4XPath object, Asuming an initialized B4XCanvas (tCanvas) the relevant code is: Dim tRect As B4XRect...
  12. LucaMs

    B4A Library [B4X][XUI] ViewPos - source code

    A code module (also compiled as library), compatible with B4A, B4J and B4I, with few methods about views' position. As you know, in b4a we have: SomeView.Left but we don't have: SomeView.Right which is available in the Designer (script). Many times, surely you have written code like the...
  13. LucaMs

    Android Question B4XView - Error compiling a code module to library

    I have a code module (b4a) in which all the routines require variables of type B4XView as parameters. This code module works well in b4a and b4j projects. I compiled the module to a b4a library. Then I ran the same project (b4a) which used the code module, replacing the module with the library...
  14. Star-Dust

    B4J Library [B4A] [XUI] SD: XUI_DragView

    This library handles drag and drop of XUI views. It is a simple library with few methods but it only serves to drag the space already indicated. (required XUI 1.72+) Good fun SD_XUI_DragView Author: Star-Dust Version: 0.02 DragDropView Events: PlacedCoordinate (DragView As B4XView)...
  15. Star-Dust

    B4J Library [B4X] [XUI] SD: B4XViewEvent

    Using the XUI views I realized the need to follow the events of Touch, Drag, Click and Release in a unique way. Required XUI 1.72+ In Android I would use this command: Sub EventName_Touch (Action As Int, X As Float, Y As Float) In B4J I would use this: Sub EventName_MouseDragged (EventData As...
  16. Star-Dust

    B4J Question [SOLVED] OnTouchListener event

    I created a class that changes the event View as a parameter by changing the view. This works well in B4A but does not work in B4J. This is the code: Sub Class_Globals Private CallBack As Object 'ignore Private EventName As String 'ignore End Sub 'Initializes the object. You can add...
  17. OliverA

    Android Code Snippet [B4X][XUI] Image to JPEG byte array with resize/quality options

    Originally posted a B4J/inline Java version of this in the B4J Code Snippets (https://www.b4x.com/android/forum/threads/image-to-jpeg-byte-array-with-resize-quality-options.91746/). @Erel pointed out though that the XUI library had the functionality that I was doing with Java, so I decided to...
  18. LucaMs

    Android Question XUI - B4XCanvas

    How to set anti aliasing for B4XCanvas? I tried this example: https://www.b4x.com/android/forum/threads/b4x-xui-create-a-round-image.85102/ and the result is bad - both circle and image.
  19. giofram

    Android Question B4X: cross-platform and socket managing features

    Dear B4Xers, we need to create cross-platform UI; we need to work with sockets in the background also. A typical example of our hypothetical application is an app where a disabled person "explores" an ever-changing UI that is dynamically generated to learn how to use different types of controls...
  20. DroidLyon

    Android Question Dynamically creating tabstripviewerpage tabs with XUI customlistview

    Hi all I'm trying to dynamically create a number of tabs based on content from a SQLLite database. These tabs are then populated with data into XUI customlistviews and where I attempt to lazy load as per Erels guide here Rather than hard code and use multiple designer created clvs and events...
Top