开发者

android background image problem

I am trying to set an image as background. I edit the xml layout file. But when i put the im开发者_StackOverflow社区age on the drawable folder, it gives an error on the project name. What is the problem? Is it related to size of image? How much is the biggest size for image that android can run?


Probably your image name is incorrect , resource items cant have numbers , special characters ( _ is fine ) & upper case characters.


Image Size never give Errors, Format of the size will give the error.. Check the valid format..

If you upload the bigsize image , it display only small portion from Display.getWidth to Display.GetHeight position.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜