Android 当显示虚拟键盘时,如何将ListView切换到屏幕底部?

Android 当显示虚拟键盘时,如何将ListView切换到屏幕底部?,android,listview,xamarin.forms,Android,Listview,Xamarin.forms,我有ContentPage,其中包括: this.Content = new StackLayout { Children = { new Label { Text = "Block 1:", FontSize = 18 }, Entry1, myListView, new Label { Text = "Block 2:", FontSize = 18 }, Entry2, Entry3 }

我有
ContentPage
,其中包括:

this.Content = new StackLayout { Children = {
        new Label { Text = "Block 1:", FontSize = 18 },
        Entry1,
        myListView,
        new Label { Text = "Block 2:", FontSize = 18 },
        Entry2,
        Entry3
    }
};
问题是-当我选择
Entry
control时,我希望看到尽可能多的
myListView
,但下面的控件会移动到键盘上方,并阻止大部分
myListView

如何解决这样的问题


main activity.cs上设置
WindowSoftInputMode=SoftInput.AdjustNothing
以在显示虚拟键盘时禁用UI大小调整。 例如:


你的android项目的目标是哪个版本?我的仿真器与Android 6.0类似,并且我正在使用仿真器,默认情况下,它的行为与您需要的类似:。
[Activity(ScreenOrientation = ScreenOrientation.Portrait, WindowSoftInputMode = SoftInput.AdjustNothing...)]