I need to draw popup like in default keyboard.
Screenshot.
How can i do this ?
P.S. Soryy, but my reputation is not enough to post images.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Take a look at the
popupKeymethod in the Android SDK. When you long press you will have to use aminiKeyboardContainerto draw the popup which will display the characters specific to that key’s id. Have a look here to see how the Android keyboard deals with thepopupKeybehaviour.