Welcome to the Treehouse Community
The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.
When I was changing the image width I pressed match_parent but in stead of making the picture bigger it made it smaller
I did everything the exact same as the guy in the video but it just made the image to 176 dp so I had to manually change it to 368 dp. Is that ok?
I have found a way around this.
If you set the 'layout_width' and 'layout_height' for 'titleImageView' both to 'match_constraint' using the design window. And then go into the text window and find where it has added 'android:layout_width="0dp"' and 'android:layout_height="0dp"'. Then change the '0dp' values to 'match_parent'. Then check to make sure that 'android:scaleType' is set to 'centerCrop'.
That should all work as it is shown in the video. I have no idea why the match_parent option isn't displayed like in the video. It might be a version problem. I am running Android Studio 3.0.1