Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 75885

Keep Android soft keyboard on screen

$
0
0

My issue seems trivial, yet I can't find an easy solution to it within the Forms environment. I have a chat page, where I want to be able to show the keyboard after the user taps on the entry field (this is fine). However, I do not want the keyboard to disappear if the user taps the send button the screen. Right now, anything I do that results in the entry field losing the focus will make the keyboard disappear. I do not want that.

What makes the case tricky is that I want this behaviour only on this specific page. On other pages, if the entries lose focus and the keyboard disappears, it's totally fine.

The whole forms app is handled by a single activity. I'm quite lost at the moment :) (on iOS, the behaviour is exactly as I described my wanted scenario above, I'm only stuck with Android)


Viewing all articles
Browse latest Browse all 75885

Trending Articles