Hi, could you please help me with the following question please:
For example, If 2 vertical variants are created, then how does android decide which one to use?
If I make a variant of a small size and another large variant, but the device has a medium screen size, which one uses Android and...
Hi everyone,
I had to fix the ugly white page that shows for a bit before the app starts (using B4XPages).
There is this tutorial by Erel in the forum: https://www.b4x.com/android/forum/threads/b4x-b4xpages-splash-screen.120851/
that explains how to do everything, with a beautiful video by...
Hi everyone!
My script to detect screen size
Sub Activity_Create(FirstTime As Boolean)
Activity.LoadLayout("Layout")
Dim SCALE As Long
Dim SIZE As Long
Dim HEIGHT As Long
Dim WIDTH As Long
SCALE= GetDeviceLayoutValues.Scale
SIZE =...
Hi everyone, I finished my app, but there is an imperfection that annoy me..
Before the app actually start there is a black/gray screen.
The problem is that in the main Activity_Create is veeeery simple, same for Starter Service
it is just:
Sub Activity_Create(FirstTime as Boolean)...
Hi
I want to create a program that does something every time the screen is updated
Like Show screen updates in Developer options 👇 👇👇
Thanks in advance for answering😘
Hi everyone.
I structred my app like so:
- Splashscreen (where I test the internet connection)
- Login Page
- Home Page
I would like to use TabBarController (i already did other post in order to understand how to use this thing), but i need it only in Home Page.
In splashscreen and Login Page...
how to get the client screen size? I want to fit the content design based on their screen size.
or is there another way to make the system design (layout) fit correctly to their screen size?
When I change the resolution of my display, using windows config, all open windows (non B4J) automatically adjust their sizes according to the new resolution, except my form created in b4j. I need the form I created also changes its size proportionally to the chosen resolution.
I thought this...
HI, All
Does the subject looks fantastic ? Impossible to use camera class with switched screen off ?
I have created the app controlling QR-codes, the screen is dimmed, but always on - battery is for 7-8 hours only.
Any way for camera without screen ?
Hello fellow B4X developers,
I'm at it again but this time I've taken photos specifically to post on this great community.
Updating my current screen means that I'll be going from a 1366x768 not full HD to a 1920x1080 full HD portable external screen.
A few weeks ago I purchased a faulty...
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...
Hello experts!
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...
Hello, please apologize my english, i dont have too much experience in B4A, my question is:
I have an Activity, with a Layout, the Layout has an image (for a logo) some labels and edittexts to enter information, and a button at bottom. Wich is the EASY way to center the labels on screen to see...
Hi!
I think it could be useful to have the chance to enable Immersive Mode directly from Region Activity Attributes.
I was thinking to something like this:
#Region Activity Attributes
#FullScreen: True (other options: False, Immersive)
#IncludeTitle: True
#End Region
or...