Это мой XAML:
<View.Resources>
<Style x:Key ="windowTitleStyle"
TargetType="Label">
<Setter Property="FontSize"
Value ="Large" />
<Setter Property="FontAttributes"
Value ="Bold" />
<Setter Property="TextColor"
Value ="Black" />
</Style>
<Style x:Key ="fieldTitleStyle"
TargetType="Label">
<Setter Property="FontSize"
Value ="Small" />
<Setter Property="TextColor"
Value ="Gray" />
</Style>
<Style x:Key ="fieldContentStyle"
TargetType="Label">
<Setter Property="FontSize"
Value ="Large" />
<Setter Property="FontAttributes"
Value ="Bold" />
<Setter Property="TextColor"
Value ="Black" />
</Style>
</View.Resources>
<StackLayout>
<Label HorizontalTextAlignment="Center"
VerticalOptions ="CenterAndExpand"
Text ="Dispatch Prepared"
FontAttributes ="Bold"
BackgroundColor ="Transparent" />
<Label Style="{StaticResource Key=fieldTitleStyle}"
Text ="Time" />
<Label x:Name ="dispatchTime"
Style ="{StaticResource Key=fieldContentStyle}"
BackgroundColor="Transparent"
Text ="{Binding StartTimeAsString}"
FontSize ="Medium"
VerticalOptions="CenterAndExpand" />
<Label Style="{StaticResource Key=fieldTitleStyle}"
Text ="Address" />
<Label x:Name ="dispatchData"
Style ="{StaticResource Key=fieldContentStyle}"
BackgroundColor="Transparent"
Text ="{Binding Details}"
FontSize ="Medium"
VerticalOptions="CenterAndExpand" />
<Button Opacity ="0.95"
CornerRadius ="12"
BackgroundColor="Transparent"
VerticalOptions="FillAndExpand"
TextColor ="Black"
Text ="Revise It"
FontSize ="Medium" />
<Button x:Name ="dispatchItButton"
Opacity ="0.95"
CornerRadius ="12"
BackgroundColor="Green"
TextColor ="White"
VerticalOptions="FillAndExpand"
Text ="Dispatch It"
FontSize ="Medium" />
</StackLayout>
Это странные вещи: на iOS разные размеры шрифтов работают, но на Android все размеры шрифтов одинаковы.Но даже в iOS Большой размер шрифта работает только для элементов fieldTitleStyle и не работает для элементов fieldContentStyle.
Помогите, пожалуйста, очень.