I saw that someone had trouble creating a simple Switch in XUI. So I wanted to give an example.
No need to do reverse engineering I have source code.
It is a xCustomView and therefore should be used with the Design.
xui_Swicth: Star-Dust
Proprieties:
Value As Boolean
Method
setSwitchBitmap...
Hi, All
Sub innerSaveState(v As View, list1 As List)
Dim data() As Object
If v Is EditText Then
Dim edit As EditText
edit = v
data = Array As Object(edit.Text, edit.SelectionStart)
Else If v Is Spinner Then
Dim spinner1 As Spinner
spinner1 = v...
First of all, cheers to Filippo who created a template manager last week. I was going to offer Filippo a few suggestions in his thread about his program, but then I decided to create my own on Sunday. B4X Template Manage (B4X TM) is no better or worse than Filippo's, it's just a different take...
Ciao ragazzi,
avrei bisogno di una mano..
Sto caricando in una xcustomlistview una lista di prodotti (diciamo 2000)
Questa lista a caricarsi ci mette un tre secondi circa con richiesta remota, popolamento
e risultato a video.
Ora io volevo nel frattempo mettere questa bella custom indeterminate...
First, i spend a lot of time in creating views, some views i need by my self, but some views not and to create a high quality view cost a lot of time. If you want to support me, then you can do it here by Paypal or with a coffee. :)
This is a Animated Counter with more Features. The Class is...
This is an implementation of a sorted map using a red black self balancing binary search tree. It replaces the B4J TreeMap Library and the B4I Sorted Map Library. The .zip file includes demonstration / test programs for B4A,B4I and B4J.
If you want to understand what the SortedMap class is...
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...
hello,
how to make this example b4j network here work with ssl?
https://www.b4x.com/android/forum/threads/b4x-network-asyncstreams-b4xserializator.72149/
i set the server into listen after a button click.
if me click connect from "client" the server show a connect but the client stay in status...
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...
Description: A simple class to add 3 methods to the native List.
Methods:
IndexOf2(Item As Object, StartIndex As Int) As Int
Returns the index of the specified item starting the search from StartIndex. Returns -1 if Item was not found.
GetAllIndexes(Item As Object) As List
Returns a list...
Hi all,
These are two classes (the attached is a B4J project but I believe the classes will work for B4X, correct me if I'm wrong in which case I'll update the post) that let you control IR and RF devices with Broadlink RM Pro and Mini 3 ('Black Bean') controllers - see...
the normal syntax is
Dim Obj As MyClass
Obj.Initialize()
but i think this part can be optional if the developer will reset/create a new object
Obj.Initialize()
so the default code would be
Dim Obj As MyClass
and i saw that if me using a library .Initialize() it not necessary
how about a...
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...
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...
Wasn't it a good idea if we had an online notification inside B4x about new internal libs? Perfect was if then the libs are downloaded automatically :-)
In my shared modules I'd like to be able to have subs that can sit there and only be considered by the compiler if a given library was added to the project. I'm aware of Build Configurations, but these would require setting them up manually on a project by project basis.
Example:
#IfLibrary...
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...
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...
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.