简体   繁体   English

用户在 EditText 上键入时隐藏三星键盘下的黑条

[英]Hide black bar under Samsung keyboard when user types on EditText

How to hide the keyboard black bar on Samsung smartphones when user types in edit text on android.当用户在 android 上输入编辑文本时,如何隐藏三星智能手机上的键盘黑条。 I tried it with android:inputType="textNoSuggestions|textVisiblePassword" , but it only hides the suggestions.我尝试使用android:inputType="textNoSuggestions|textVisiblePassword" ,但它只隐藏了建议。

This black bar.这个黑条。

You can't.你不能。 That's part of the samsung keyboard.这是三星键盘的一部分。 The keyboard itself gets to decide whether to show it or not.键盘本身可以决定是否显示它。 At best you can try to find an input type that gives it a hint to do so, but that may screw up other keyboards, and may not work on other versions of they keyboard.充其量你可以尝试找到一种输入类型来提示它这样做,但这可能会搞砸其他键盘,并且可能不适用于其他版本的键盘。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM