Question

I am trying to setup a splash screen. When I am adding a background in LinearLayout, the xml is not showing me the android:background option. I have already added the (600 X 400).png image into @drawable/hdpi folder. Please help me out.

Was it helpful?

Solution

It always happens for me. Make sure you already added the image in your drawable folder and then Clean your project. It's all Eclipse's problem.

OTHER TIPS

Xml editors get messy sometimes, I use ctrl+shift+f and it works again, but it doesnt happen that often in most recent ADT.

It can happen sometime to me too, for no particular reason whatsoever. However, if you just write it down, without suggestion from eclipse, it will still be shown :)

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top