Prevent Keyboard Hiding For EditText

RaymondKellyRaymondKelly USMember ✭✭✭

I have a chat app that has a history feature. So next to the EditText, there are 2 images, one with an arrow up and one with arrow down. When you click on the images, the EditText scrolls through your previous chat messages. The problem is that when I click on the image, the EditText loses focus and it closes the keyboard. I need the keyboard to stay up while clicking on the images.

I have tried an image renderer and set "Focusable" to false and still no luck. Even "Enabled=false" does not have an effect. The gesture regocnizer still fires and the keyboard hides. Any ideas here?

Thanks!

Answers

Sign In or Register to comment.