Xamarin Show Keyboard and Focus on an Entry Field
问题 I am using Xamarin.Android and I have a Dialog with Xamarin.Forms.Entry field in it. How do I show keyboard and give focus to this Entry field when dialog is displayed? I am using a device, not an emulator. 回答1: Can you try this, dialog.Appearing += (object sender, System.EventArgs e) => yourEntry.Focus (); When you focus to the entry, Keyboard will be shown by default Here is the sample, i have tried to show keyboard in button click <StackLayout> <Entry x:Name="entry" HeightRequest="50"