hieudev develo
hieudev develo

Reputation: 53

how can i show the candidates view under the android soft keyboard?

I'm trying to make a softkeyboard for android but when i edit the candidates view it always shows above the keyboard layout. I tried to set Y position and it moves down but the keyboard layout hides it, although the keyboard is empty and transparent.

I need to show candidates view under the keyboard layout or whatever place, but not above.

Thanks.

Upvotes: 3

Views: 4531

Answers (1)

Gabe Sechan
Gabe Sechan

Reputation: 93561

The easiest way is not to use the candidate view. In fact we didn't use it at Swype at all- we didn't like some of the built in behaviors. Just return a null candidate view in onCreateCandidateView. Then in your main keyboard layout, add a view to use for candidates below the keyboard and use that as the candidate view.

Upvotes: 6

Related Questions