I customize the softkeyboard, but when we run it on emulator then it run successfully on portrait mode. But when I change the orientation in landscape then keyboard didn’t visible. What changes will be done in the code ?
Share
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.
You don’t need to change your code, the default emulator has a hard keyboard. So when you put it in landscape mode it doesn’t show the softkeyboard.
To solve this, create a new AVD with no keyboard support:
or edit the config.ini file of existing AVD and put: hw.keyboard=no