That sample code is interpreting these as Unicode characters which it
applies as edit operations on the text. You will need to modify the code
to do the appropriate calls to move the cursor.
On Mon, Aug 13, 2012 at 5:59 AM, yakobom yako...@gmail.com wrote:
Hi,
I've been trying to add arrow
Thank you very much Dianne.
In case anyone who needs help bumps into this, this is what I did:
Inside the key down handling function I added this code:
CharSequence txt =
getCurrentInputConnection().getTextBeforeCursor(1000, 0);
int len = txt.length();
if ( len
Hi,
I've been trying to add arrow keys to the SoftKeyboard example from the
SDK, without success:
Added this to the keyboard xml (qwerty.xml):
Row android:rowEdgeFlags=bottom
Key android:codes=21 android:keyLabel=lt;
android:isRepeatable=true android:keyWidth=5%p
3 matches
Mail list logo