Android Question Problem with CSBuilder

Mahares

Expert
Licensed User
Longtime User
CSBuilder text color does not change, I attach an example.
You are not clear in explaining your problem, but this line:
B4X:
cs.Initialize.Color(Colors.Red).Append("Hello ").Pop.Append("World!").PopAll
should look like this to make all text red:
B4X:
cs.Initialize.Color(Colors.Red).Append("Hello ").Append("World!").PopAll
 
Upvote 0
You are not clear in explaining your problem, but this line:
B4X:
cs.Initialize.Color(Colors.Red).Append("Hello ").Pop.Append("World!").PopAll
should look like this to make all text red:
B4X:
cs.Initialize.Color(Colors.Red).Append("Hello ").Append("World!").PopAll

In my Samsung AJ71, Android 10 with One Ui 2.5 , there is not color. Look the picture
 

Attachments

  • WhatsApp Image 2020-11-12 at 7.23.06 AM.jpeg
    WhatsApp Image 2020-11-12 at 7.23.06 AM.jpeg
    132 KB · Views: 106
Upvote 0

roumei

Active Member
Licensed User
Your code is correct and works. Have you checked your phone's settings? Do other apps have colors?
 
Upvote 0

Mahares

Expert
Licensed User
Longtime User
In my Samsung AJ71, Android 10 with One Ui 2.5 , there is not color
Hi Carlos:
I ran your application on a Samsung phone 10e with OS 10 and UI 2.5 and I have the display in color as it is supposed to be, see sccreenshot. Please see screenshot. Please check the link that @roumei gave you in post 5. Hopefully, @roumei 's advice leads you to your solution.
 

Attachments

  • carlos.png
    carlos.png
    18.9 KB · Views: 114
Upvote 0
Your code is correct and works. Have you checked your phone's settings? Do other apps have colors?
Yes, even other B4A applications have colors. Even the one I am working on has colors, but i cannot change text color with CSBuilder.
 
Upvote 0

roumei

Active Member
Licensed User
That's really strange, then. I ran your code and it works. The only thing I had to do is to remove the robocopy command for the shared files.
 
Upvote 0

Mahares

Expert
Licensed User
Longtime User
It is an Accessibility options, visibililty enhansment, high contrast fonts, it was on.
Now that you have your issue resolved, the least you can do and as a good gesture is to thank all the members who spent a lot of time trying to help you or at least the one who resolved it for you, After all, the problem had nothing to do with B4A or CSBuilder.
 
Upvote 0
Top