I have a grid where in Android RowDefinition(heigh)t is 100, on iOs will be 120. How can I do this per plataform identification inside Xaml.
<ContentPage.Resources>
<ResourceDictionary>
<OnPlatform x:Key="GridSize" x:TypeArguments="GridLength" iOS="120" Android="100" />
</ResourceDictionary>
</ContentPage.Resources>
<Grid RowSpacing="0" x:Name="grid" AbsoluteLayout.LayoutFlags="All"
<Grid.RowDefinitions>
<RowDefinition Height="{StaticResource GridSize}" />
<RowDefinition Height="60" />
<RowDefinition Height="280" />
</Grid.RowDefinitions>
</Grid>
This way it is not working.
