简体   繁体   English

如何使用TouchWiz在Android上从输入/文本区域中删除橙色轮廓/边框

[英]How to remove orange outline/border from input/textarea on Android with TouchWiz

I have input styled like holo theme by CSS but on focus appears orange outline and white background. 我输入的样式类似于CSS的holo主题,但焦点出现的是橙色轮廓和白色背景。

I found solution to remove this: 我找到了解决方案以删除此问题:

textarea:focus{
  -webkit-user-modify: read-write-plaintext-only;
}

But this solution causing that the text inside field is not visible while typing (except first letter). 但是此解决方案导致键入时字段内的文本不可见(首字母除外)。 Text shows up after leaving the focus. 文本在离开焦点后显示。

Another soulution like that: 这样的另一种解决方案:

-webkit-tap-highlight-color:  rgba(255, 255, 255, 0); 

doesn't work... 不起作用...

More solutions? 更多解决方案?

Tested on Android 4.0.1 (Samsung Galaxy SII). 已在Android 4.0.1(Samsung Galaxy SII)上测试。

To remove the outline of a textarea try with: 要删除文本区域的轮廓,请尝试:

:focus {
  outline: none; 
  -webkit-box-shadow: none !important;
  -moz-box-shadow: none !important;
  box-shadow: none !important;
}

Hope it helps! 希望能帮助到你!

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

相关问题 在NON APP网站中删除Android输入橙色边框 - Remove Android input orange border in a NON APP website 如何使用Titanium在Android中移除onfocus上的橙色边框? - How to remove the orange border onfocus in Android using Titanium? 如何在Android中删除视图与其轮廓边框之间的多余空间? - How to remove extra spaces between the view and the outline border of it in Android? 禁用矩形(橙色边框)以在Android> 4.0 Webkit上聚焦输入文本 - Disable rectangle (orange border) for text input on focus for Android > 4.0 Webkit Android上出现随机橙色边框 - Random Orange border appearing on android 如何从 AutoCompleteTextView 中删除大纲? - How to remove the outline from AutoCompleteTextView? 如何从 TextInputLayout android 中删除底部边框 - How to remove bottom border from TextInputLayout android 如果TouchWiz源代码不可用作开源,基于TouchWiz的android ROMS如何工作? - How android ROMS based on TouchWiz work if TouchWiz source code is not available as opensource? Android:如何正确配置xml布局中的textView轮廓黑色边框 - Android: how to configure the textView outline black border in xml layout properly Android Studio-如何在应用主题中使用三星的TouchWiz皮肤? - Android studio - How to use Samsung's TouchWiz skin in app theme?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM