Home > Software design >  Looking for a solution that can keep my custom navigation bar in focus when the keyboard is also foc
Looking for a solution that can keep my custom navigation bar in focus when the keyboard is also foc

Time:09-17

My Navigation bar keeps going out of focus once my keyboard is enabled. Looking for a solution that can keep it in focus even when the keyboard is in focus.

Screenshots When Keyboard is not in focus When Keyboard is in focus

CodePudding user response:

Try adding this

[Activity(WindowSoftInputMode = SoftInput.AdjustResize)]

in your class attribute.

Or you can do experiment with different enums of the SoftInput to meet your requirement.

More on this here

  • Related