Discussion Forums  >  Images, Documents, File Locations

Replies: 2    Views: 107

NicoRacing
Lost but trying
Profile
Posts: 78
Reg: Oct 25, 2013
Hyeres
3,680
11/02/13 07:36 AM (10 years ago)

Where do I add my background images into Eclipse ?

Hello there ! I want to test both options for screen background images : from URL or not. From URL, it works very well. It just takes a second to load on the screen, but somehow the background picture of the first tab (5 tabs in total) doesn't always appear, or sometimes disappear, whereas it works very well on the other tabs screens. Somehow there is an unstability regarding that first tab screen background image. So I wanted to try to have them directly incorporated into the apk file, but I don't know what to do in Eclipse for them to be recognized. I suppose I have to copy those jpegs into some subfolder of the Asset folder, but which ? I have now only the folders BT_audio BT_docs BT_Video. And do I need to adjust the code ? I'm absolutely not familiar with it. Thank you ! Nico
 
FunkyMonkey
Aspiring developer
Profile
Posts: 1177
Reg: Aug 07, 2013
blackpool
14,570
like
11/02/13 07:50 AM (10 years ago)
images go in your res/drawable folder, remember to keep the size as low as poss, as android can crash if the image size is to big, and refresh your project if its open sean
 
NicoRacing
Lost but trying
Profile
Posts: 78
Reg: Oct 25, 2013
Hyeres
3,680
like
11/02/13 08:21 AM (10 years ago)
Yep ! Works just fine. Thank you Sean.
 

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.