Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

entry is hidden by keyboard on iOS

$
0
0

I'm facing the problem that I have entries at the bottom of the screen, which when the keyboard pops ups it completely hides the entry while the user is typing the values, and that only happens on iOS. I tried to use scrollview, but still didn't work.

       <ContentView.Content>
            <AbsoluteLayout Margin="0,0,30,0">
                <Entry
                    x:Name="searchBar"
                    AbsoluteLayout.LayoutBounds="0,0,1,AutoSize"
                    AbsoluteLayout.LayoutFlags="WidthProportional"
                    BackgroundColor="White"
                    HeightRequest="40"
                    Placeholder="Enter sensor"
                    TextChanged="SearchBar_OnTextChanged"
                    TextColor="{DynamicResource RelogixDarkGray}"
                    VerticalOptions="Center" />
                <ListView
                    x:Name="dataListView"
                    AbsoluteLayout.LayoutBounds="5,40,.98,.4"
                    AbsoluteLayout.LayoutFlags="SizeProportional"
                    BackgroundColor="White"
                    CachingStrategy="RecycleElement"
                    HasUnevenRows="True"
                    IsVisible="False"
                    ItemTapped="ListView_OnItemTapped">
                    <ListView.ItemTemplate>
                        <DataTemplate>
                            <ViewCell>

                                <StackLayout Margin="5" Padding="0">
                                    <Label
                                        BackgroundColor="White"
                                        FontFamily="{StaticResource NormalFont}"
                                        FontSize="16"
                                        Text="{Binding .}"
                                        TextColor="#FF464859"
                                        VerticalOptions="Center"
                                        VerticalTextAlignment="Center" />
                                </StackLayout>

                            </ViewCell>
                        </DataTemplate>
                    </ListView.ItemTemplate>
                </ListView>
            </AbsoluteLayout>



Viewing all articles
Browse latest Browse all 204402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>