the label appears in the emulator but does not appear on android devices, how is the solution?
I use the default code
Here's the trailer
<Label Text="Start developing now" FontSize="Title"/>
CodePudding user response:
Sometimes the configuration of the emulator and the configurations of the device are different.
Because of that, sometimes the default color of some components depend on the Theme
.
A good way to check this is changing the BackgroundColor
of the Label? Or the TextColor
or the BackgroundColor
of the page.
CodePudding user response:
I think the FontSize
property can be set to a double value directly, or by a NamedSize enumeration value
<Label Text="Font size 24"
FontSize="24" />
<Label Text="Large font size"
FontSize="Large" />
Check the documentaion here
Also you can inspect by changing the background color