This application showcases the use of B4X views and the multi platform programming with the #If B4A and #If B4J directives.
This is how it looks like (first on my laptop then on my smartphone):
A short description is available in the attachment: color_selector.pdf
You can find the source codes...
Hi everyone my app has a very light color as primary color and the text in the statusbar is not visible anymore because it is white.
I wish to set it to dark in order to be readable
This is my Manifest, i tried different combination of themes, but maybe i'm not doing the right thing...
Hello,
I think a very basic question.
I'm struggling with textarea black letters on yellow background. Just like a post-it memo.
First I tried a light yellow backcolor at designer properties.
But at runtime it is white.
Then I tried those two lines of code. Both did not result in a yellow...
Hi, It's me again. Follow up question to my old thread about Quiz App. This is the scenario. At the end of the exam (Result Layout). The user have an option to Retry or Review the Exam. In the Review module, I have generated buttons depending on the Number of Questions. Now let's say the app...
Hi everyone I'm using hex numbers to be comfortable with colors... I needed to add the Alpha channel to RGB color code.. for example
dim rgb_color as int = 0xFF0000
dim rgba_color as int = rgb_color + 0xFF000000
this code does not work because "0xFF000000" is recognized as -16777216, do you...
Hi everyone I had the necessity to create a specific looking color picker.
And I managed to get it working properly so I want to share it because it can be usefult to someone who have the same need.
The color picker bar look like so:
I realized it using all b4x elements, so it should be fully...
Does anyone know how to change the color of Exoplayer controls like play, pause, previous, next, duration, etc.?
Now, with the latest version, the controls stay in white color with blanck background, despite what I add into the manifest. I know how to change the background color with
Dim r...
Hello everyone! I faced such a problem: on some devices and the emulator the notification icon is gray, while on my phone (HONOR 9X) the icon is colored and everything is fine. I also used the class Notification, and now I use NB6. Nothing has changed, can anyone have encountered such a problem...
Hi everyone,
i already looked for something in the forum but i did not find nothing working.
Someone of you knows how can i change the cursor color of an edittext? more precisely, i want to make it invisible.
(note: i use appcompat, i don't know if this information can be useful)
Thanks in...
If "Handle Resize Event" = false in the designer, then when filling a regular label with color, I get the following defects:
lbl1.Color=Colors.ARGB(255,198,50,36)
How with "Handle Resize Event" = false, to get the normal fill?
I tried setting up the label as B4XView and filling it color, but...
Hi all!
In the app I am developing the ACSwitches seem to behave a little strange.
As you can see in the example project attached, I load a layout that has some switches in it.
The problem is that the first switch always starts with a white color, while the others get their colors from the...
I tried to change the Textview color in the Designer, but it never changes, and is still white when I run the program.
Is there something I should know ?
TIA
Dim no As NativeObject = tbc
no.GetField("tabBar").SetField("tintColor", no.ColorToUIColor(Colors.white)) 'active item
no.GetField("tabBar").SetField("barTintColor", no.ColorToUIColor(limablue)) 'bar color
no.GetField("tabBar").SetField ("translucent", False)
Hi, with this code...
Greetings,
I'm trying to change the background colour of a B4XDialog I started to use but the app crashes with this error in the logs. It crashes on the comented out line.
java.lang.NumberFormatException: For input string: "(GradientDrawableWithCorners)...
App per Android che dispone di tre B4XPage
Ognuna al suo interno contiene due command button
Quando piazzi i command button dal designer, per chi non l'abbia mai fatto, vengono disegnati in grigio scuro, mentre il fondo della page e' chiaro credo bianco
Provo il programma, passo da una schermata...
I have an app for Android that receives sms
N.1 service module, 3 B4XPage with a command button on each
When sms arrives in the service module I have to change background color, button color, button text on the requested page
How to make code in the service module change these properties of any...
Hi All
i have an app in which i am setting following value
#FullScreen: false
#IncludeTitle: False
the activity title is not showing, but my problem is that i cannot set a certain color for the upper bar in which the time and battery percentage etc. come. It is showing in grey color. I have...