删除的EditText的重点边境边境、重点、EditText

2023-09-12 08:35:51 作者:我的粉红知己

我如何专注一个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"
/>
 
精彩推荐