<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_focused="true" android:drawable="@drawable/layout_bg1" /> <!-- focused -->
<item android:state_pressed="true" android:drawable="@drawable/layout_bg1" /> <!-- pressed -->
<item android:drawable="@drawable/layout_bg" /> <!-- default -->
</selector>
I am trying to use custom drawables in my list selector.Here is the error message I am getting in the first line:
The processing instruction target matching "[xX][mM][lL]" is not allowed.