Android 键入时隐藏文本视图下栏
我想在android中隐藏textView的底部。如何实现这一点。我已经尝试将背景颜色设置为“透明”或“空”。但在键入时,underbar仍然可见。请尝试此代码Android 键入时隐藏文本视图下栏,android,textview,Android,Textview,我想在android中隐藏textView的底部。如何实现这一点。我已经尝试将背景颜色设置为“透明”或“空”。但在键入时,underbar仍然可见。请尝试此代码 <EditText android:layout_width="fill_parent" android:layout_height="wrap_content" android:hint="@string/hello" android:background="#00000000" /> 更新: 试试这
<EditText
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:hint="@string/hello"
android:background="#00000000" />
更新:
试试这个
someTextView.clearComposingText()
希望对您有所帮助您是指
编辑文本
还是自动完成文本视图
?因为TextView
没有基础栏!我已经试过了。。如果没有在编辑文本中给出文本,您所说的内容将只删除底部。。一旦你开始输入,底部就会再次可见。但感谢您的回复:)