I am using a viewpager to swipe amongst fragments in my app. I define the background in the XML, so
android:background=\"@drawable/bg_final\"
I had the same problem and I resolved it by using this method:
Add your image to the mipmap folder which is located under the res directory. It will add the image according to it's density.
res