简体   繁体   中英

Unable to use Keyboard {Xamarin.Forms}

When using an Entry in a custom ViewCell with keyboard set to non default value (for example Numeric) - if you focus an entry, default text keyboard is shown then hidden instantly. When you focus it second time, numeric keyboard is shown as intended.

In Main Activity add:

[Activity(Label = "Bla bLa", MainLauncher = true,Theme = "@style/MyTheme", ConfigurationChanges = ConfigChanges.ScreenSize 
    | ConfigChanges.Orientation,
    WindowSoftInputMode = Android.Views.SoftInput.AdjustPan)]

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM