Salve a tutti,
questo è il mio primo thread, spero quindi di porre correttamente il problema che riscontro.
Nella creazione/composizione di un'Activity quando aggiungo più di x Panel il layout non si comporta più in modo corretto.
Vi allego qui due immagini e un esempio di codice.
I just migrated a working non-B4XPages app over to B4XPages because CallSubDelayed was not working correctly when the old app did not have focus. I was advised to migrate to B4XPages. That issue has been resolved just by doing the migration. It seems that loading layouts is done...
🌠 Transform into a different view or activity using morphing animations.
Using Transformation motions of new material version.
Github : https://github.com/skydoves/TransformationLayout (Kotlin)
Just for B4A
min sdk : 21...
I started to experiment with B4XPages and really like them. I also used SetLayoutAnimated to slide a layout called pnlWhiteDialog into view. It slides into view as expected but the alignment of the views on the layout are not being displayed as expected. For example I have a Label...
Given an existing B4A project, is it possible to copy (with operating system command) the .lay files (layouts) to use them in the B4J environment?
Basically is it possible to copy screenshots from Android project to B4J?
And is the opposite also possible, ie from B4J to B4a?
Finally from B4A to...
I have this code in Application_Start:
pnlBottomMain.Height = pnlBottom.height-2
pnlBottomMain.Top = MainPanel.Height - pnlBottomMain.Height
However, the layout adjustments are not shown. But if I put the same two lines in a click handler, it works...
Hi everyone, I followed this post in order to achieve that famous iOS bottom sheet layout.
It worked but the annoying thing is that when I load the layout in it, the top part of the view remains empty, like if the Top=0 is Top=20.
I attach a screenshot to make it more understandable
Hi everyone, it's possible to make the status bar transparent (in the screenshot is the white space at the top), anche make transparent the bottom part?
This layout is simply a web view with a GIF, in the designer the Webview is set to cover all the area.
This represent the splashsceen.
Not sure if this can be considered a Tutorial, my first attempt.
Lately I started to play with Widgets, mostly for curiosity.
The main problem I encountered was how to design the Layout to make it resizable and make the content to adapt automatically to size changes.
Unluckily designing a widget...
Hi everyone, i want to share this "chat layout".
I hope it will be useful to somebody.
It is a translated version from the Andoid one by @Douglas Farias.
It has some bugs, that someone can help me to fix.
For example i want the CustomListView always display the last element (without bringing...
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...
Hi everyone, i want to share with you this example project, that is a slightly modified version of this one.
Maybe can be useful to someone else.
It's adapted to be an horizontal panel scroller, that correctly center the loaded layout in the panels.
Why using anchoring does my layout look weird?
In the preview screen I have three buttons that are anchored on the left and right, if you notice they have a horizontal space between them, but on the real device the screen looks weird, has no spacing. What am I doing wrong?
When I use the...
Reference: Proof of Concept
A couple of days ago i started on about a proof of concept I am working on. A wrapper of the Webix framework to create BANano based apps.
What is Webix and Why?
Webix is an HTML5/CSS3-based UI toolkit that helps you build complex and dynamic web apps that are...
Layout and their scripts are fantastic!
In my current application, I have such a layout that is actually for an overlay/dialog and I'm reusing it in 2 activities.
However, I can't find a way to reuse the code that handle them (filling the fields, handling the events, etc).
I could write a...
I am using the 4" Phone emulator which has 480 x 854 skin. I think nowadays modern phones have longer screen too.
Every time I open a new Designer window, the default "General" variant is 320 x 480, scale = 1 (160dpi) and my views unable to fit in this default screen real estate.
Wish: I hope...
It may be a trivial question, however, I added views to the layout which are not fitting vertically the visible part of the device, and I thought a scrollbar will automatically show when I run, however it does not. How to display the missing views on the device screen. Thanks
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...