简体   繁体   中英

why i am not getting android:background option in XML

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.

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.

Xml编辑器有时会变得凌乱,我使用ctrl+shift+f并可以再次使用,但是在最新的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 :)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM