简体   繁体   English

从 AutoCompleteTextView 中删除波纹效果

[英]Remove ripple effect from AutoCompleteTextView

I have AutoCompleteTextView inside TextInputLayout .我在TextInputLayoutAutoCompleteTextView 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 xmlandroid.R.layout.select_dialog_item更改为您的服装 xml

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM