Hi,

I'm posting a question 'cause really desperate. I'm programming a
calculator with a custom EditText and a custom Keyboard. The keys of
the keyboard are matched to the necessary functional keys. What I want
to do is, when user fires onTouch on the EditText hide the system
Keyboard and show the custom one. This is not so complicated, I
managed this requirement by using mFormularEditText.setInputType(0);
but the tricky part is that now onCheckIsTextEditor() returns false
and by EditText becomes a simple TextView. The bad thing about this
is, that SelectionModifierCursorController uses isTextEditable()
return false because it uses onCheckIsTextEditor(). So I got on my
EditText no SelectionModifierCursorController and by the way now
blinking InsertionPointCursorController. And I really don't want to
miss these new handles for selecting text.

Overriding onCheckIsTextEditor() and always return true brings back
the system Keyboard by touch the EditText.

So is there an easy way to hide the KeyBoard but conserve the
CursorControllers? Am I missing something essential?

I would be really happy if someone could help me and I hope I could
express my concern in a understandable way.

Endian Ogino

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to