Entry focus Not nice placed

Louis LOYER 1 Reputation point

Hello everyone ! Thks for reading this post and maybe find a solution to my problem.

In a Xamarin.Forms Project, in one of my views, i added an entry as a search bar and i want this entry pass over a grid.
Here is my code

            <RowDefinition Height="1.455*"></RowDefinition>  
            <RowDefinition Height="0.6*"></RowDefinition>  
            <RowDefinition Height="8*"></RowDefinition>  
        <Grid Grid.Row="0" Grid.Column="0" BackgroundColor="{StaticResource Primary}">  
            <Image Source="signaler.png"></Image>  
        <Grid Grid.Row="1" Grid.Column="0" BackgroundColor="Black">  
            <Frame HasShadow="True" Margin="20,-35,20,0" Padding="0" HeightRequest="20" HorizontalOptions="FillAndExpand">  
                        <ColumnDefinition Width="0.7*"/>  
                        <ColumnDefinition Width="7*"/>  
                    <Image Source="search.png" Aspect="AspectFit" Margin="10,15,0,15"></Image>  
                    ***<Entry Grid.Column="1" Placeholder="Search" Text="{Binding Search, Mode=TwoWay}" TextColor="Black" FontSize="15" HorizontalOptions="FillAndExpand" VerticalOptions="FillAndExpand"/>***                    

My entry work well and everything look fine, but i can click on this entry only on the little red area i drawed here :

If someone understand why my entry in my frame can't be clicked.. Thanks a lot. :)

A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,291 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Louis LOYER 1 Reputation point

    Hello Jarvan and thanks for ur help, my problem didn't came from versioning, cause i'm on the last realese of xamarin.Forms ! but i tryied some stuffs and i found a solution !

    I just putted the margin of my frame, on the grid and my Entry was accesible.
    Thanks a lot for ur help mate !

    0 comments No comments