Click here to Skip to main content
15,890,123 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am using this code for the main layout and getting this error.

The error is : "The processing instruction target matching "[xX][mM][lL]" is not allowed."
XML
<bitmap xmlns:android="http://schemas.android.com/apk/res/android">
        android:src="@drawable/bg_tile"
        android:tileMode="repeat"
        android:dither="true" />


Please give a proper solution to fix it. Thank you.
Posted
Updated 30-Jun-12 0:14am
v7

I tried your code and it's working with me.

i tried following

XML
<bitmap xmlns:android="http://schemas.android.com/apk/res/android">
    android:dither="true"
    android:src="@drawable/ic_launcher"
    android:tileMode="repeat" >
</bitmap>
 
Share this answer
 
I have to add following declaration also.

the xml declaration. THANK YOU. :-)
 
Share this answer
 
Comments
Jaydeep Jadav 30-Jun-12 8:38am    
You are welcome dear!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900