Your XML formatting is wrong. As BupeChombaDerrick2 told in Solution 2, you are closing the parent tag way too early. Not only on 'relativelayout' tag, but also on some other tags below.
Some examples:
Wrong
<textview>
android:id="@+id/textView1"
</textview>
Correct
<textview>
android:id="@+id/textView1"
</textview>
Wrong
<edittext>
android:id="@+id/editText1"
</edittext>
Correct
<edittext>
android:id="@+id/editText1"
</edittext>
You should have a look at some very basics about XML:
XML Language[
^]
This is a field which very few developers can afford to ignore, these days :)
Hope this helps.