Here my code:
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:background="@drawable/my_background"
android:paddingBottom="16dp"
android:paddingLeft="16dp"
android:paddingRight="16dp"
android:paddingTop="16dp" >
I don’t know why, but when i test my_app on the avd i see it perfectly, but when i use my phone (galaxy nexus) everything work good, but i can’t see my custom background on the activity!
There are the different stalks of the drawable folder too. Make sure it is in the res/drawable folder and not in a certain one like drawable-xhdpi because your phone might not be the same as that, although your emulator might be. That means that when you load it onto your phone, it will look in the wrong directory as your phone isn’t xhdpi or whatever and so won’t find it.