Cocos2dx - 删除“完成” android 中软键盘上方的按钮
我已经检查了一些关于如何在软键盘上方添加“完成”按钮的问题,但没有任何关于如何删除该按钮的问题。当我单击应用程序中的任何 EditText 并打开软键盘时,将显示“完成”按钮。我想隐藏或不想显示该按钮。
另外最重要的一点是应用程序是在“Cocos2dx游戏引擎”上开发并导出的。现在我已经在 Android Studio Arctic Fox 2020.3.1 中打开导出的项目并运行该项目,所以有没有任何用于布局设计的 XML 文件。
我已经检查过这些是问题以及其他与此相关的文章/博客。 问题 1,问题 2,问题 3,问题 4,问题 5,问题 6,问题 7, < a href="https://stackoverflow.com/questions/5307264/how-to-prevent-soft-keyboard-from-resizing-background-image">问题 8,问题 9,问题 10 和 第 1 条,文章2 等。
下面是正常屏幕
一旦软键盘打开,它将显示如下
我已经在超过 10 台设备以及 Android 8.1、Android 10、Android 11 中测试了应用程序,但这种情况仅发生在三星 a52 设备中。
如有帮助,将不胜感激。
I have checked some of the question that how to add "DONE" button above soft keyboard but there is no any questions that how to remove that button. when I click on any EditText in the app and once soft keyboard open that "DONE" button will display. I want to hide or don't want to display that button.
Another most important thing is application is developed on "Cocos2dx Game Engine" and exported. Now I have opened that exported project in Android Studio Arctic Fox 2020.3.1 and run the project, so there is no any XML files for layout design.
I have checked these are the question and other article/blog also related to this. Question 1, Question 2, Question 3, Question 4, Question 5, Question 6, Question 7, Question 8, Question 9, Question 10 and Article 1, Article 2 etc.
Below is normal screen
and once soft keyboard is opened it will be displayed as below
I have tested app on more then 10+ devices and also in Android 8.1, Android 10, Android 11 but this thing happen only in Samsung a52 device.
Help would be appreciated.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论