Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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.