Hi all, I'm having problems with setting the background image for views in xml files.
I have a png called mml_background.png in the drawable folder of my project. Setting the background as follows in xml: android:background="@drawable/mml_background" gives the error: ERROR Error: No resource found that matches the given name (at 'background' with value '@drawable/mml_background'). general_list.xml / project/res/layout line 2 Android AAPT Problem However, I can use the png OK in java: Bitmap bmp = BitmapFactory.decodeResource( getResources(), R.drawable.mml_backgound); I have several other png icons in the same project that I can use OK in either the xml or in code!!! Does anyone have any idea what could be wrong? Best Regards, Don --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---