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
ms2030
2,973 PointsCanvas with image underneath
I want to make a canvas with an image underneath, like for tracing. I set up an image and surface view in XML and it looks fine but when I run the program, I can't see the image underneath. I've played with the canvas alpha level and nothing seems to work.
I know this can be done because I've done it with MIT's app inventor but want to program with Java.
(I'd love to see a graphical drawing program as a tutorial!)
1 Answer
Ben Jakuben
Treehouse TeacherIt sounds like you're trying to make the SurfaceView transparent...if that's the case, this StackOverflow answer might help: http://stackoverflow.com/a/7061396/475217