Hi All,
I have a simple sample with the layout structure of FlexLayout which has more number of Grid. Each Grid has two children that are
- Grid with Label as a child
Custom View (TouchView) which is inherited from View.
<FlexLayout HorizontalOptions="Start" VerticalOptions="Center" Direction="Row" Wrap="Wrap" BindableLayout.ItemsSource="{Binding ChildItems}" JustifyContent="Start" AlignContent="Start" AlignItems="Start"> <FlexLayout.BindableLayout.ItemTemplate> <DataTemplate> <Grid> <Grid BackgroundColor="Aqua"> <Label TextColor="Black" Text="{Binding}"/> </Grid> <local:TouchView/> </Grid> </DataTemplate> </FlexLayout.BindableLayout.ItemTemplate> </FlexLayout>
Here TouchView represents like
public class TouchView:View
{
}
This FlexLayout wrap its child element correctly up to the Xamarin.Forms version of 3.6.0.539721
But after 4.0.0.425677 , it rendered be like in below
Note : Issue only with Android platform.
@Xamariners please check this and update us with possible solution. Actually it blocks our development cycle. Taking this a high priority and provide a solution ASAP.
I have attached the sample in both lower and higher version of Xamarin.Forms.
Regards,
Hemalatha M.