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 trialVitor Casadei
1,567 PointsI 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
Treehouse TeacherVitor;
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
Vitor Casadei
1,567 PointsThanks! I just wanted to check ;)
V F
Courses Plus Student 350 PointsUlan Ben. Hayatimi mahvettin. Sonu guzel olmaz bu isin.
Ben Jakuben
Treehouse TeacherBen Jakuben
Treehouse TeacherYes, great catch! Just an oversight on my part.