不是空的EditText我用这个selector
我EditText
:国家在Android电子
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_focused="true" android:drawable="@drawable/mostatil" /><!-- user tap on edit text -->
<item android:state_focused="false" android:drawable="@drawable/mostatil50" /><!-- user didn't tap or tap another edit text -->
<!-- state for not empty edit text -->
</selector>
是否有EditText
显示EditText
任何状态不为空(用户写了一些东西)?
感谢,但它并没有通过代码工作 – Fanous