Tag Archives: dev

AutoCompleteTextView Not Showing On-Screen Keyboard

Problem

When attempting to write in an AutoCompleteTextView element, the on-screen keyboard doesn’t show. After changing views and going back to the Activity that had the element, the keyboard worked as intended.

Environemt

The on-screen keyboard worked as intended on the android 1.6 emulator. However on the Samsung emulator (2.2) and a Samsung device the keyboard failed to show.

Solution

You should not requestFocus by the autocomplete element. After removing the requestFocus the autocomplete worked with the on-screen keyboard every time it got focus.

Credits: @dina_helal for reporting. Thanks!