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 Simple Android App (retired 2014) Getting Started with Android Initial Layout

Cant Figure out How to do the this challenge

I am trying to change the Text ID to treehouseLabe1 but it tell that I am doing it wrong and doesn't tell me the correct answer or even an helpful hint. Been on this thing for 45 minuets. Please someone help me. <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" >

<TextView android:id="@+id/treehouseLabe1" -------this is what i am talking about android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_centerHorizontal="true" android:layout_centerVertical="true" android:text="I love Treehouse!" />

</RelativeLayout>

2 Answers

Austin Barber
Austin Barber
2,015 Points

Alright Michael Woods. It is super easy, wish I could have gotten to you faster. First thing man, that is supposed to be a lowercase L not a 1. Make sure your syntax matches what I have below.

android.id="@+id/treehouseLabel"

Keep on fighting brother you can do it!

Austin Barber
Austin Barber
2,015 Points

Also there is a video on tips for asking questions. It is a great video and if you follow it's instructions you are much more likely to get a fast answer.