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 ?
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...
I use this string android:configChanges="orientation|screenSize" in the manifest to save data when I change the orientation of the screen. OK, the information is saved, but the layout view does not adapt to the new orientation, i.e. for example, the portrait view doesn't change to...
I am creating a form and then calling a function and getting the system to wait. I'm calling from the form and not a service like this:
wait for (GlobalFunctions.ParseCycleCount(lJson,lSAPData)) Complete (Result As Boolean)
If Result=True Then
One of my customers sent me the attached screen shots showing my app views not scaling properly. His phone is the LG K10 (2017) model. I tested the app on several phones we own which are mostly Samsung. It scales well on the Samsung J7, S6, S7 Edge and S8.
Can you tell me what I...
In B4A, it's possible to cast (almost) all views as a Label to get the tag, for instance. Doing so in B4I causes a crash. Can I cast iOS views to something else to easily get some common properties, such as the tag?
Recently I asked how to create imageview(for example) without using the designer.(https://www.b4x.com/android/forum/threads/problem-creating-imageview.97448/)
Does anybode know how to delete view(for example imageview) also without using the designer?
Thanks in advance.
My custom view Label class is working fine.
I add custom view label object in custom list view by add row function.
But customlistview_itemclick event is not running when I click on custom view.
Here is my code of custom cllick event
Private Sub mBase_Click
I create panel custom view, but none object added in it.
my panel custom view code :
Public Sub DesignerCreateView (Base As Panel, Lbl As Label, Props As Map)
mBase = Base