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 trialTaylor Skidmore
1,096 Pointsmatch_parent on webView not actually matching parent.
I've just been following along with the BlogReader tutorial, but after adding a webView and manually setting it to match_parent on both the height and the width, I still get an ugly border around the element. The border appears on both the simulator and a real device.
Several SO answers said it had to do with the app not supporting all screen sizes, so I added the following to my AndroidManifext.xml with no luck as far as a solution goes:
<supports-screens
android:smallScreens="true"
android:normalScreens="true"
android:largeScreens="true"
android:xlargeScreens="true"
android:anyDensity="true"/>
Any ideas? I'm using the latest build of Android Studio (0.2.3)
1 Answer
Ben Jakuben
Treehouse TeacherHi Taylor, check out the answer in this other Forum post. :)
Taylor Skidmore
1,096 PointsTaylor Skidmore
1,096 PointsI even spent a little time searching the Treehouse forums and I couldn't seem to find anything! Thank you very much!