Discussion Forums  >  Images, Documents, File Locations

Replies: 4    Views: 220

ajaxon98
Android Fan
Profile
Posts: 36
Reg: Oct 20, 2013
Los Angeles
2,310
11/18/13 09:18 AM (10 years ago)

background image for menu not visible (Android)

I am placing my images in res/drawable...they are jpg files, and while I was at my home office they showed up for the most part...(sometimes not). Now I've come into the office with my computer and even though I go through the menu properties and delete the image save and allow the app to update, when I go back and specify the image for the background...they are not showing up in the app. What did I miss....? Any help appreciated. Thanks
 
LA
Aspiring developer
Profile
Posts: 3278
Reg: Aug 16, 2012
Jerseyville, IL
42,880
like
11/18/13 10:51 AM (10 years ago)
Hi @ajaxon98, It's better to change your image to a png format. Make sure each image is named correctly so no special characters and no capital letters. For example Myimage.png is not good but myimage.png is good. Also do a project clean and a refresh. LA
 
ajaxon98
Android Fan
Profile
Posts: 36
Reg: Oct 20, 2013
Los Angeles
2,310
like
11/18/13 01:34 PM (10 years ago)
So I can use png files any where I want to use a graphic? Thanks....
 
ajaxon98
Android Fan
Profile
Posts: 36
Reg: Oct 20, 2013
Los Angeles
2,310
like
11/18/13 01:36 PM (10 years ago)
What is the "refresh" process and how is it accomplished? Thanks
 
LA
Aspiring developer
Profile
Posts: 3278
Reg: Aug 16, 2012
Jerseyville, IL
42,880
like
11/18/13 01:52 PM (10 years ago)
For Android/Eclipse it is better to use png. Eclipse just seems to like it better. Go to project then do a clean. After that right click on your project and click refresh. Hope this helps! LA
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.