Android Question [Solved] Label with white characters and no black outline round each letter

Martincg

Member
Licensed User
Longtime User
I need labels with a transparent background and white text without a black outline on each character.
How should I do that or what should I read?
Or should I create images instead of using labels and draw the text? I saw this which would make it easier to get the size correct.
 
Last edited:

nibbo

Active Member
Licensed User
Longtime User
Not really sure what you mean?

I just created a label in the designer, set the background to transparent and the text to white and it works as I would expect; no black outlines on the letters at all.
Are you using the default font?

Can you post an image showing what you are seeing?
 
Upvote 0

Martincg

Member
Licensed User
Longtime User
Here's an example. The large text with a black outline is my label. The characters with no black outline are part of the background image and I need to match that.
I'musing AutoTextSizeLabel, but as far as I can see it uses a standard label. However my experience is very little so anything I say can be safely ignored.

EDIT: If I try a standard label with the standard font I get the same black outline.
 

Attachments

  • BlackOutlinedTextExample.jpg
    BlackOutlinedTextExample.jpg
    213.1 KB · Views: 317
Last edited:
Upvote 0

Sagenut

Expert
Licensed User
Longtime User
If possible use the Export as Zip function and post an example project that show the issue.
This will make easier for everyone to help you.
 
Upvote 0

Martincg

Member
Licensed User
Longtime User
OK. I thought it was going to be an easy question to answer.
 

Attachments

  • TextOutLineProblem.zip
    123 KB · Views: 295
Upvote 0

Martincg

Member
Licensed User
Longtime User
That's exactly how I want it to look!
So it depends on the Android version?
That's embarrassing, if I try it on my phone, S9 Android 9.0, I get the same as you do.

Is there any way round it? (Tell my customer to buy a new tablet maybe.)
 
Last edited:
Upvote 0

Sagenut

Expert
Licensed User
Longtime User
So the issue was just a device setting? ;)
Good if you got your problem solved.
Mark the title with the [SOLVED] Tag in case.
 
Upvote 0
Top