1
I’m working on a project with Xamarin Forms Visual Studio. When running the project for iOS, it works perfectly, but when running the same project for Android the phrases appear all together. Ex.:
<StackLayout Orientation="Vertical">
<Label
Text="Aguarde! Processando..."
TextColor="{x:StaticResource ColorPrimary}"
FontSize="Small"
HorizontalTextAlignment="Center"/>
<ActivityIndicator
Color="{x:StaticResource ColorPrimary}"
IsRunning="True"/>
</StackLayout>
The result is:
This happens for all phrases in XAML files.
If in XAML this <Label Text="Xamarin Forms Visual Studio"/>
, when executed is Xamarinformsvisualstudio.
Beginning of XAML: <?xml version="1.0" encoding="UTF-8"?>
;
I already checked the tag xml:space="preserve"
in the Resource files;
I tried to insert this same tag directly in the XAML file and nothing.
Any suggestions?
Thank you!!!
Dude... Really weird! You already tried the magic solution: delete
obj
andbin
, clean and rebuild?– Diego Rafael Souza
Yes, it was one of the first things I did. In fact, this tip is really good, solved several other problems I had during development. Anyway thank you for the reply!
– Daniel