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
pdiaz
16,073 PointsHow do I get this picture to extend to all corners of the screen?
How do I get a picture to extend to all corners of the screen, instead of leaving the outside pure white.
pdiaz
16,073 Pointsthe manifest?
Kristen Law
16,244 PointsFrom your layout file. I'm assuming you have an ImageView or something to display your picture?
pdiaz
16,073 PointsYes I do
Kristen Law
16,244 PointsOk, so can you post the code from that layout file?
1 Answer
Joe Brown
21,465 PointsIf your using the default layout file that was generated for you then you would just need to remove the padding from the layout. There are xml attributes there inside the RelativeLayout element that gives that space around the edge by default for padding, just delete those.. If I am understanding what you are trying to do correctly
pdiaz
16,073 PointsThanks
Kristen Law
16,244 PointsKristen Law
16,244 PointsCan you post the code from your xml file?