Android 8+ adds the ability to attach a text tooltip to a view. This post shows some wrapper code to do this with JavaObject.
Just like elevation has been added for panels, I'd love to see tooltips added as a declarative property on views, so we could define them using the Designer or in simple...
For tooltips (press-and-hold on a view to show some explanatory text), in the past I used a hack in my apps to position a toast message near the view. This has stopped working on certain recent versions of Android (I'll cover that in a separate post), so I went looking for a better solution.
'i have a question about class and list and many view ,
'What to deal with is , many EditText placed on form ,
'if the value(text) of any EditText is changed then the backcolor of it will be changed ,
'i used class module in vb , it can fulfil the task , the following is code
Another B4A Library 😍
AXWaveAnimation is a wave animation or a bubble animation for recording or playing audio using the amplitude of the voice.
You can customize the wave drawables or add or remove the wave drawables.
Hello, I managed to wrap a library but the only way i can currently use it is through the designer. Is there a way to wrap a library and display the UI with Activity.AddView(WrappedLibraryObject, left, top, width, height)
i Followed this tutorial to wrap the library...
I am trying to apply this method advised by Erel, to rotate a view:
Dim x As B4XView = YourView
x.Rotation = 45
To understand what was the center of the rotation, I checked the view Left and Top before and after the rotation, but they are unchanged.
This question refer to this discussion:
In the linked discussion has been given the solution how to add a CustomView by code:
making a dedicated layout with the CustomView and loading the...
hi everyone, i was using the scrollview but i don't know why if i load a layout in the scrollview, when i scroll it goes out of the scrollview D:
scrlInfo.SetShadow(Colors.Black, 0, 0, 0.2, False)
scrlInfo.Visible = False
To kill time (coronavirus takes care of it for us) and to distract myself from the situation I thought of creating a new CustomView.
Different give the possibility to insert different search keywords, for example when inserting TAGs in B4X threads.
I wanted to do it for B4X and I started...
Hi everyone, i'm trying to adapt an example of a chat layout (android reference by @Douglas Farias)
I want to change the property (width, height, position) of a panel in a customlistview (loaded with loadlayout).
If I go step by step with the Debugger it seems to work, but as soon as it go on...
Well, this basically does what it says. It uses the built-in PDF viewer to view your PDF files.
Just pass it the URL of the pdf file and the width and height of the HTML element you want to render to and whalla!
Ive tested it on Edge, Firefox, Opera, Chrome
Sometimes when i copy and paste some view into a new panel
i have noticed that the field Type is empty.
That apparently provide no pbs with the app. with B4A (i still dont try the transfer on B4I)
Please could you confirme that to me ?
I develop the cross-platform version of the ScrollView2D library.
XUIScrollView was developed all from scratch.
xScrollView is a wrapping of the native ScrollView but which standardizes the commands so that they can be used cross-platform.
Everyone can choose which one is best suited to their...
Change (Value As Int)
DesignerCreateView (Base As Object, Lbl As Label, Props As Map)
Base type must be Object
Initialize (Callback As Object, EventName As String)
Hi, everyone, im trying to use the Place Autocomplete View from Erel.
I have the necessity to hide (or show) the view as i want by code, but the command:
PlaceAutocompleteView.Visible = False
doesn't exist... how can i solve this?
Hi everyone, this class is an edit of this class from Erel:
I've done some changes to achieve an animated "Swipe gesture (left to right)"
If you swipe all the way right to the trigger point, you can trigger an event...
how can i add a custom view (it have the name ViewConsumer) to activity at runtime?
Consumer is a class with data.
#Region Activity Attributes
'These global variables will be...
We have often discussed in this forum in different threads about the need to be able to insert XUI from design. We all know that the direction that is suggested by AnyWhere software is to create in the design the native views and then replace B4XView to the type...