Closed Caij closed 6 years ago
EditText中设置tintBackgroud对默认背景无法生效,需要和官方demo一样自己设置图片背景才会生效。 看了源码,没找到其中为什么不生效。(tintBackgroud默认背景在普通状态下生效,在选中状态下不生效)
不能直接在xml中使用tintBackgroud属性,需要和drawable配合使用或者可以在java代码中直接染色
已经解决 谢谢
EditText中设置tintBackgroud对默认背景无法生效,需要和官方demo一样自己设置图片背景才会生效。 看了源码,没找到其中为什么不生效。(tintBackgroud默认背景在普通状态下生效,在选中状态下不生效)