I didn't find any solution that would work directly with Android's IME. So I've made a little trick by subclassing an EditText
that implements TextWatcher
. If require to input some data I use addContentView
(specifying layer parameters of 1x1 px) together with requestFocus
on the EditText
class and it calls for the IME for me that shoots values via the TextWatcher
interface.
Hope this is going to help people who had stumbled upon this uneasy task.