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 trialSujana Lius
180 PointsHi, I get a different layout between design & blueprint view when I wrote "Ants stretch.."and set it to 24sp, why?
Hi, I get a different layout between design & blueprint view when I wrote "Ants stretch.."and set it to 24sp.
When I set it to 24sp, the blueprint text size become way bigger (as if it was set to 70sp) but not on the design view. Is this a bug that I should ignore? any idea how to fix this?
3 Answers
Sean M
7,344 PointsThe same thing has happened to me. I don't think it is an error because when I run my program on Android studio, the text is formatted to the screen at 24sp.
Urgent Nkala
8,772 PointsWhat program is this
Urgent Nkala
8,772 PointsCan i have a snippet of your XML layout
2pd
8,123 PointsI have the same problem, here is my text snippet of the XML
android:id="@+id/textView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentStart="true"
android:layout_centerVertical="true"
android:text="Ants stretch when they wake up in the morning."
android:textSize="24sp" />