Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何在不清除边框的情况下更改 EditText 的背景颜色?如果我调用editText.setBackgroundColor(color)editText周围的橙色边框消失..
editText.setBackgroundColor(color)
制作一个新样式的 xml,并在
editText.setBackgroundResource(R.drawable.yourstylename);