删除的EditText的重点边境 [英] Remove focus border of EditText

查看:103
本文介绍了删除的EditText的重点边境的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我如何专注一个EditText查看时,删除出现的边界?

How can I remove the border with appears when focusing an EditText View?

予需要它导致此视图在屏幕小的空间,但是没有边框它足够。在模拟器上运行时为橙色边框显示,上设备是蓝色的。

I need it cause this view has little space in the screen, but without the border it's enough. When running on Emulator an orange border appears, on Device a blue one.

推荐答案

您是否尝试过的EditText 的背景设置为透明色?

Have you tried setting the background of the EditText to a transparent colour?

<EditText  
android:layout_width="fill_parent" 
android:layout_height="wrap_content" 
android:hint="@string/hello" 
android:background="#00000000"
/>

这篇关于删除的EditText的重点边境的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆