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 trialLisa Steendam
6,825 PointsNote about difference in newer version Android studio
In my current version of Android Studio you no longer see the different drawable directories directly. Instead you get folders for each image. So old version:
- res/drawable-hdpi folder with all hdpi images
- res/drawable-mdpi folder with all mdpi images
- and so on
New:
- res/drawable/ic_launcher.png folder with the ic_launcher for each kind of image (hdpi/mdpi/...)
- res/drawable/page0.png folder with the page0.png for each kind of image (hdpi/mdpi/...)
- and so on
3 Answers
Kyle Wallpe
2,308 PointsThe difference in resource display is due to the default view for that pane (apparently) being Android now instead of Project. If you switch the view in that pane in the current version of Android Studio from Android to Project, everything still matches the video(s), with drawable-mdpi, drawable-hdpi etc. folders and individual files inside those.
The Android view seems to be designed to hide some of the complexity of the directory structure. The way it hides and combines directories isn't just limited to the resource directories.
Ben Jakuben
Treehouse TeacherDoesn't that just figure...and update as soon as the course is released!
I'll add a note to the video. If it really causes trouble I can look at re-recording it.
betalife
Botan Abdullah
Courses Plus Student 2,940 PointsHi Ben, I added the image directory to the "drawable" directory, but it doesn't show the directories. I had to put the images manually one by one. How can I fix that? I had to rename all the image files. any solutions?
Ben Jakuben
Treehouse TeacherDid you try switching to the Project view as described in the selected answer here? In the latest version of Android Studio you should be able to drag files directly into the matching drawable-hdmi (or -whatever) folders from the downloaded folders.
Alexandru Sava
7,695 PointsI am working on Windows computer. Under Open icon, Save icon, Sychronize icon (top left side) you have the main folder of the project. Now, right click on it and select Jump to source. Now you should be able to see the same structure as you can see on the tutorial.