Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to disable full screen keyboard

I created a Table Layout and I don't want to have the keyboard editing view being fullscreen. I want to have the keyboard and the view behind it. Like when you send a message to somebody,you have the text fields with name,subject,etc and the keyboard .My Edit text is created dynamically,so I have to do this in code. I tried using SetImeOptions, but using editview.SetImeOptions,is not working in Xamarin. Is there any way to do that in Xamarin? Thanks!

I want something like this: to view the entire table and if I want to write something, the keyboard to be with the table on screen(photo): enter image description here

Not like this,where the keyboard is full screen:

enter image description here

I hope it is clear what I want..

like image 805
alex Alex Avatar asked Nov 26 '25 00:11

alex Alex


1 Answers

I managed to do it using this:

public override IInputConnection OnCreateInputConnection(EditorInfo outAttrs)
        {
            outAttrs.ImeOptions = ImeFlags.NoExtractUi;
            IInputConnection ret= base.OnCreateInputConnection(outAttrs);}
like image 50
alex Alex Avatar answered Nov 28 '25 14:11

alex Alex