Discussion Forums  >  Images, Documents, File Locations

Replies: 4    Views: 975

NicoRacing
Lost but trying
Profile
Posts: 78
Reg: Oct 25, 2013
Hyeres
3,680
11/02/13 07:48 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
 
NicoRacing
Lost but trying
Profile
Posts: 78
Reg: Oct 25, 2013
Hyeres
3,680
like
11/02/13 07:49 AM (10 years ago)
Sorry, I don't know I released this twice. How do I delete ?
 
krompa
Lost but trying
Profile
Posts: 257
Reg: Jun 14, 2013
Bristol
8,820
like
11/02/13 08:23 AM (10 years ago)
Hi Nico They need to be added to the res/drawable folder
 
NicoRacing
Lost but trying
Profile
Posts: 78
Reg: Oct 25, 2013
Hyeres
3,680
like
11/02/13 10:03 AM (10 years ago)
Thanks Krompa !
 
Sandeep
Android Fan
Profile
Posts: 1260
Reg: Feb 01, 2012
Miraj, India
25,250
like
11/02/13 10:33 AM (10 years ago)
Any image you use in your android project go to drawable folder by default. In case you have a custom html or html doc related images they go to BT_Docs folder.
 

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.