Keyboard/entry takes up entire screen

For Android if you have your phone in the landscape position and then if you focus on your combobox the Entry and Keyboard take up the entire screen and you can't even see your list anymore.  Is there a way to overcome this?  I want the combobox to be editable so IsEditableMode = True.

Using 18.2.0.47 of syncfusion
Android 10.0 is the compile version.

1 Reply 1 reply marked as answer

SS Suganya Sethuraman Syncfusion Team September 9, 2020 11:57 AM UTC

Hi Derek,

Greetings from Syncfusion.

We have analyzed your query. We have achieved your requirement using CustomRenderer.

Code Snippet
 
public class CustomRendererAndroid : SfComboBoxRenderer 
    { 
        public CustomRendererAndroid(Context context) : base(context) 
        { 
        } 
 
        protected override void OnElementChanged(ElementChangedEventArgs<Syncfusion.XForms.ComboBox.SfComboBox> e) 
        { 
            base.OnElementChanged(e); 
            if (Control != null) 
            { 
                Control.GetAutoEditText().ImeOptions = (Android.Views.InputMethods.ImeAction)Android.Views.InputMethods.ImeFlags.NoFullscreen; 
            } 
        } 
    } 

Sample
https://www.syncfusion.com/downloads/support/directtrac/general/ze/ComboBoxKeyboard_Sample-1684518764

Please let us know if you have any queries.

Regards,
Suganya Sethuraman.
 


Marked as answer
Loader.
Up arrow icon