开发者

Android: how to display keypad

i am developing simple adroid application. I main program i need to see kaypad(just letters). I have tried to add buttons and then and caption, events, but it takes a lot of time to configure app. Maybe there is开发者_Python百科 another way to display simple letter keypad?


EditText EditTextName=findViewById(R.id.EditText01);
((InputMethodManager) getSystemService(Context.INPUT_METHOD_SERVICE)).showSoftInput(EditTextName), 0);

write above code in edittext focus listener.Then u got the keypad whenever that view has focus

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜