android - How to test IME_ACTION_DONE on Genymotion emulator -
in 1 of apps have edittext
has android:imeoption="actiondone"
set. i've set appropriate setoneditoractionlistener()
.
<edittext android:id="@+id/search_field" android:layout_width="wrap_content" android:layout_height="wrap_content" android:hint="@string/search_field_hint" android:imeoptions="actiondone" android:singleline="true"/>
when testing on real device works great - enter text, hit "done" button , action get's triggered.
on genymotion emulator though (that prefer using while development) can't see soft-keyboard, can't click "done" button trigger action.
how test if imeoption
set , working correctly on genymotion emulator?
before opening emulator press preferences button of emulator , check use virtual keyboard text input. should trick, of course u need press on virtual keyboard.
Comments
Post a Comment