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 Build a Weather App (2015) Building the Weather UI Finishing the Lower Half

I noticed that you set the "Stormy with a chance off meatballs" textview to 18dp. Shouldn't it be 18sp? As it is a text?

I noticed that you set the "Stormy with a chance off meatballs" textview to 18dp. Shouldn't it be 18sp? As it is a text?

3 Answers

Ken Alger
STAFF
Ken Alger
Treehouse Teacher

Vitor;

Yes. Nice catch!

Text in Andriod should be set to "sp". The "sp" is scalable based on a user setting and is generally for usability concerns as the device will scale the text size for vision requirements, for example. I'm sure it was an oversight in the video.

Ken

Ben Jakuben
Ben Jakuben
Treehouse Teacher

Yes, great catch! Just an oversight on my part.

Thanks! I just wanted to check ;)

Ulan Ben. Hayatimi mahvettin. Sonu guzel olmaz bu isin.