Reputation: 53
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
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