[英]Remove ripple effect from AutoCompleteTextView
I have AutoCompleteTextView
inside TextInputLayout
.我在
TextInputLayout
有AutoCompleteTextView
。 How do I remove the ripple effect from AutoCompleteTextView when selecting item from drop down.从下拉列表中选择项目时,如何从 AutoCompleteTextView 中移除涟漪效应。
I am talking about the ripple on the widget and not the ripple inside the dropdown menu.我说的是小部件上的波纹,而不是下拉菜单中的波纹。
You probably have samothing like this ArrayAdapter<String> adapter = new ArrayAdapter<String> (this,android.R.layout.select_dialog_item,language);
你可能有类似这样的
ArrayAdapter<String> adapter = new ArrayAdapter<String> (this,android.R.layout.select_dialog_item,language);
change android.R.layout.select_dialog_item
to your costume xml将
android.R.layout.select_dialog_item
更改为您的服装 xml
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.