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

Android

Jonmarc Stevens
Jonmarc Stevens
6,414 Points

Mobile Landscape problems

Hey guys,

I'm having a little trouble with a UI layout that I'm working on. Right now in landscape view, the search url takes up to much space on the search bar and tile below. The consequence of this is that it cuts off the tile information only showing 3/4 of it. Unfortunately, I can't enable a scroll function on this (I can't really go into the specifics for this one) therefore only part of the tile is shown. I'll show you what it looks like.

Anyone have any suggestion on how to alleviate this problem?

Kevin Michie
Kevin Michie
6,554 Points

Sounds like a cool set up! Have you set the search url to "match parent" and have the text inside have a "sp" pixel density like "12sp". This should hopefully scale the bar relative to the screen and the "sp" for the text should scale the pixels to the necessary size.

Hope this helps! Good luck!

-Kevin