需要将什么从键盘应用程序传递给编辑器才能将光标向左移动一个字符?
当 Android 编辑器应用程序将被解释为向左箭头时,键盘应用程序期望发送什么键代码?换句话说,如果用户打算将光标向左移动一个字符,键盘程序应该向其调用程序(某种编辑器)发送什么?一个相关问题:“android:codes”属性的负值是什么意思? () 对这些问题的任何指示将不胜感激。
What key code does an Android editor app expect the keyboard app to send when it is going to be interpreted as a left arrow? In other words, what is the keyboard program supposed to send to its calling program (some kind of editor) if the user intends to move the cursor one char to the left? A related issue: what do the minus values for the "android:codes" attribute mean?
() Any pointers to these issues will be appreciated.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我知道你已经很久没有问这个问题了,但我想我应该捐出我的两分钱。在你的情况下我会尝试的是这样的:
这应该相当不错地模拟左箭头。
I know it's been a long time since you asked this, but I thought I'd throw in my two cents. What I would try in your situation would be this:
That should simulate a left arrow pretty decently.