Yes, I found that too, the dimensions can be inaccurate.  Love FreshPlanet - 
cool of you to share, this is excellent!  Ok, so I'll continue to work on a 
mixture of speed/cadence/events in order to give the appearance that the 
textfield is attached - this ANE will certainly help, ty!

Swiping the keyboard with your finger though, now that we can't do.  We can't 
position the native keyboard, we just know when it's opening/opened/closed.  I 
wonder if one could control the position of the softkeyboard natively?  If so, 
then perhaps that's the way to go with an ANE.

Does anyone know if it's possible on iOS or Android to control the position of 
the softkeyboard?

Thank you!

 -sT

-----Original Message-----
From: Greg Dove [mailto:[email protected]] 
Sent: Wednesday, February 17, 2016 11:28 AM
To: [email protected]
Subject: Re: SoftKeyboard and TextField combined

I haven't done this specifically, but I have certainly moved input fields to 
cope with softkeyboard appearance/size, while keeping the app's background 
static. I am not aware whether what you described exists as an ANE in its own 
right, but if not, I think you will need an ANE at the very least for accurate 
soft keyboard dimensions, the softKeyboardRect is not accurate on some devices. 
I have not used this one, but I have down something similar, and it would 
probably help for some android devices/keyboard combinations:
https://github.com/freshplanet/ANE-KeyboardSize



On Thu, Feb 18, 2016 at 8:07 AM, Stuart Thomas < 
[email protected]> wrote:

> Hey Guys,
>
> For your typical messaging scenario - where the textfield is on top of 
> the softkeyboard as it opens and closes..:
>
> I'm using a combination of softkeyboard events and focus events, with 
> a move effect to make it appear that a textfield is bound to the 
> softkeyboard
> - but it's a bit clunky.
>
> Has anyone solved this in a more elegant way?  Perhaps an ANE?
>
> Many Thanks,
>
>  -sT

Reply via email to