[英]Display smiley button at right bottom on Android keyboard
当用户在我的EditText中输入内容时,默认情况下我需要显示表情符号按钮。
现在,EditText的键盘如下所示:
看右下角,您将看到完成按钮。
同时在短信应用键盘中看起来像:
[
在右下方显示“微笑”按钮。
如何在EditText的键盘上显示微笑按钮?
现在,我有下一个ExitText布局:
<EditText
... // some layout params
android:inputType="textCapSentences|textAutoCorrect|textAutoComplete"/>
您可以尝试在EditText
添加以下属性。 代码中缺少的属性是textShortMessage
。 因此,您可以尝试添加相同的内容。
android:inputType="textShortMessage|textAutoCorrect|textCapSentences|textMultiLine"
android:imeOptions="actionSend|flagNoEnterAction"
您只需要添加imeOption textShortMessage
。
<EditText
... // some layout params
android:inputType="textShortMessage|textCapSentences|textAutoCorrect|textAutoComplete"/>
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.