Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Android Build a Simple Android App (retired 2014) Pretty Little Things Adding an Image

Adding an image

how to add a new images in android

2 Answers

Here is how you add image in android Treehouse Video

In a gist just drag and drop your image from the computer on to the res directory of the file structure on the left of eclipse, under its suitable folder of drawable-mdpi or drawable-ldpi or drawable-hdpi or drawable-xhdpi based on your picture quality

Hope this helps

Sreng Hong
Sreng Hong
15,083 Points

I think all you need is to watch the lesson Adding an Image and Ben already show how to add the ball01.png image to android app, so you just follow the same way with different images. Hope it'll help.