Hi,
I realized that there are some compatibility issues with Xamarin Forms. One of this issue is related to XAlign property.
Once I have updated to Xamarin 4.0, found that on two of my testing phone XAlign stopped working.
If I want to deploy the application on my phone with this property placed in app.xaml it causes immediate crash on app start up.
<Style x:Key="LabelStyle" TargetType="Label"> <Setter Property="LineBreakMode" Value="WordWrap" /> <Setter Property="TextColor" Value="#F0F0F0"/> <Setter Property="XAlign" Value="Center" /> </Style>
and if comment out this property wont have any issue!
<Style x:Key="LabelStyle" TargetType="Label"> <Setter Property="LineBreakMode" Value="WordWrap" /> <Setter Property="TextColor" Value="#F0F0F0"/> <! --<Setter Property="XAlign" Value="Center" />--> </Style>
Anyone experiencing the same issue?