xui

  1. Andrew J. Brehm

    Android Question B4XComboBox appears white and does not display anything

    I am trying to use the B4XComboBox control but when I run my test program on my phone (via the bridge) the location of the B4XComboBox controls just appears white and the text does not appear. When I touch the control, it does show the list of items I added to it. And it does work. (The test...
  2. Peter Simpson

    At last, maybe...

    So after studying Klaus's xChart, Erels various examples and watching Star-Dust release example of what can be created using XUI, I decided to take a closer look at XUI. I've started learning about XUI and its advantages, yes it looking really good and way better than I first thought it was...
  3. K

    Android Question customlistview setlayoutanimated

    Hii Expert I designing CustomListView in my app. I need it five different times and in five different look with other layout I have issue with p.SetLayoutAnimated(0,0,0,60%x,35%x) I am confuse about how to give width and height, so is their is any way to get panel used height also if i'm...
  4. M

    iOS Question problem with cropview

    hi there i wanna use crop view in this thread https://www.b4x.com/android/forum/threads/b4x-xui-cropview.94952/ in b4i as mentioned in thread it required XUI, BitmapCreator and both of them are internal but xui is internal in b4i ive added bitmap creator in my project with this link...
  5. 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...
  6. 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...
  7. 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 =...
  8. Star-Dust

    B4A Library [BAX] [XUI] SD XUI_View3D

    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 You can find a detailed...
  9. 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...
  10. 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...
  11. 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...
  12. LWGShane

    B4J Question [XUI] xCustomListView: Set Alignment?

    Is it possible to set the alignment (Left, Center, Right) of the items in "xCustomListView"?
  13. 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...
  14. 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...
  15. 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...
  16. 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...
  17. 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...
  18. 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.03 DragDropView Events: DragViewMoving (DragView As B4XView)...
  19. 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...
  20. 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...
Top