Page 1 of 1
Any way to stop screen scolling up with soft keyboard?
Posted: Sat Apr 12, 2014 9:35 am
by paulsr
Greetings:
In iOS, when the soft keyboard appears at the bottom part of the screen, everything else stays in place.
With Android (on AVD or physical device) whatever is displayed, scrolls up with keyboard.
Is there any way to prevent this???
I've tried various work-arounds, like moving fields on keyboardActivated, but this seems to interfere with fullscreenMode and I get very bizarre results.
I'm hoping someone has figured a solution already...
--paul
Re: Any way to stop screen scolling up with soft keyboard?
Posted: Sat Apr 12, 2014 9:42 am
by Simon
Hi Paul,
I think turning off acceleratedRendering will do it.
Simon
Re: Any way to stop screen scolling up with soft keyboard?
Posted: Sat Apr 12, 2014 12:06 pm
by paulsr
You're absolutely right Simon. Thank you so much for that... I've wasted days trying to find a solution. Wish I'd asked sooner.
But, you know, whenever I see an answer I like that, I think "How the hell did he know?"
I mean, where's the connection between rendering and soft keyboards?
I think I could have hacked away for a hundred years and not come up with that solution.
Oh well. Weekend ramblings. Now it's beer o'clock and I'm going to celebrate your solution
--paul
Re: Any way to stop screen scolling up with soft keyboard?
Posted: Sat Apr 12, 2014 8:00 pm
by jacque
I didn't know that either (how did you figure it out, Simon?) It isn't mentioned in the dictionary. Simon, could you add a user note to the dictionary entry for us? It would be useful. Or add a bug report for a dictionary fix.
Re: Any way to stop screen scolling up with soft keyboard?
Posted: Sat Apr 12, 2014 9:28 pm
by Simon
Hi Paul, Jacque,
I "discovered" this about the time when you, Jacque, posted about "effective working screenrect" and the keyboard. I mentioned it here once before but it seemed like a feature not a bug.
To answer you Paul, it was dumb luck and experimentation.
acceleratedRendering is very odd on Android, recently I was helping on a maze game and turning on acceleratedRendering reversed all the controls. It sounds really good but I haven't found it to help anything.
I wish I could add a user note but I have never been able to log in to revOnline, always has been "Couldn't connect to server..." I figured it is a leftover that has yet to be removed.
At any rate, glad I could help you Paul.
Simon
Re: Any way to stop screen scolling up with soft keyboard?
Posted: Sat Apr 12, 2014 9:58 pm
by jacque
You leave user notes by entering them directly into the dictionary. Open the entry for acceleratedRendering, scroll to the bottom, and click "Add Note". The note won't appear immediately, it has to be reviewed first. That may take a while, since I'm not sure these take top priority at RR right now, but it is worth a try.