开发者

is it possible to change key layout inside android application?

Can I change the layout of a bluetooth keyboard ju开发者_如何学JAVAst inside my application? Or in other words rebind the keys? For example: pressing "a" enters "s" and pressing "s" enters "a"


You can set setOnKeyListener() for every EditText in your application, where you will handle the KeyEvent "a" by entering "s" to the 'EditText'. Yes, it is an ugly way but might just work.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜