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 with Java Creating the Screen Layout Adding a Button

why its a mistake ?

i really don't know whats my mistake ! i revised the video & the question , but idk where is my mistake ! can somebody tell me the Answer ?

activity_main.xml
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  android:layout_width="match_parent"
  android:layout_height="match_parent" >

  <Textview
    android:layout_width="wrap_content"
    android:layout_height="wrap_content" />
 <Button
         android:layout_width="wrap_content"
    android:layout_height="wrap_content" />
</RelativeLayout>
Mustafa Ogün Öztürk
Mustafa Ogün Öztürk
3,468 Points

What is your problem though ? Could you please explain it ? What are you trying to do and what is the result you get ?

i wrote it like this in screenshot & it say error while the question was change textview with button