I'm learning Xamarin and focusing on a Xamarin Android App. The first screenshot is when keyboard is close and the second screenshot is when keyboard is open, I'm trying to make the page automatically move up when the keyboard is prompt.
the below is the constructor of my App class where I tried using
AndroidSpecific.Application.SetWindowSoftInputModeAdjust(this, AndroidSpecific.WindowSoftInputModeAdjust.Resize);
public App()
{
InitializeComponent();
AndroidSpecific.Application.SetWindowSoftInputModeAdjust(this,
AndroidSpecific.WindowSoftInputModeAdjust.Resize);
MainPage = new NavigationPage(new MainPage());
}
but it is still not working. How to solve it?