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 trialluis martinez
2,480 Pointsandroid page0 color red
im using android development 1.1.0 and when i type in mPages[0].setImageId(R.drawable.page0);
it shows the (page0) in red color
on the side where it shows all the little folders it shows
βΌminimap >Thumbs.db
ic_launcher maint_title.png page0.png(4) page1.png(1) etc.
1 Answer
Seth Kroger
56,413 PointsWhen you copied the files over for the pages, did you you copy along the drawable-??dpi folders or did you copy the files into the mipmap-??dpi folders instead? The files need to be in the drawable-???? folders to be accessible from R.drawable.
luis martinez
2,480 Pointsluis martinez
2,480 Pointsi copied the pictures from the folder that i was suppose to download and just paste them on the minimap folders
luis martinez
2,480 Pointsluis martinez
2,480 Pointsi fixed it. I had to replace the folders with the folders that i downloaded. Thank you for the help.