Janaka Sampath Janaka Sampath - 1 month ago 9
Android Question

Background image is not showing in the android studio

I am working on a learning tutorial which needs me to add a background picture to my app. So i moved a picture to "drawable" folder and selected that file in the background properties of the particular relative layout. but the picture does not show up in my working space and yet there are no errors given. someone please help me?

Answer Source

Here the problem is with your picture name, because Resource Name must be start with character. So Rename your picture stored in drawable and start the name with character.

For example, change: