Forum Xamarin.Forms

View scroll when keyboard open for typing in Entry Control

kcswindowskcswindows USMember
edited June 2016 in Xamarin.Forms

when user focus Entry Control in Xamarin.Form keyboard open but view scroll so Design looks ugly.so please help me.
i have put image how screen visible when keyboard open in android device.
My code given below
<StackLayout Grid.Row="1"> <StackLayout Padding="20,10,20,20" > <Entry x:Name="Txtusername" Placeholder="Name"/> <Entry x:Name="TxtPass" IsPassword="True" Placeholder="Password" /> <StackLayout Padding="0,10"> <Button x:Name="BtnSign" BackgroundColor="#FFFFCB04" BorderColor="#FFFFCB04" Clicked="BtnSignInClicked" Text="Sign In" TextColor="Black" /> </StackLayout> </StackLayout> </StackLayout>

Answers

  • seanydaseanyda GBMember ✭✭✭✭✭

    Try putting all the content on your page into a stack layout then a scrollview and see if it improves. normally does the trick

  • BasuBasu USMember ✭✭

    I am also trying same code but i wont get keyboard open for typing in Entry, Please give me any suggestions.

    Tanx Advance

Sign In or Register to comment.