<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<solid android:color="#ffffff" />
<stroke android:width="1dp"
android:color="#000000" />
</shape>
我正在使用这段代码:setBackgroundResource(R.drawable.selfbg);
但是在使用这段代码时,EditText中的光标不可见。