Hi everyone!
I'm a newbie and am going through an online tutorial. However, I have hit a snag and I can't figure out what I've screwed up!
Here are my two files: activity_main.xml
<?xml version="1.0" encoding = "utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="horizontal" >
<EditText android:id="@+id/edit_message"
android:layout_weight="1"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:hint="@string/edit_message" />
<Button
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/button_send" />
</LinearLayout>
and strings.xml
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="app_name">My First App</string>
<string name="edit_message">Enter a message</string>
<string name="button_send">Send</string>
<string name="menu_settings">Settings</string>
<string name="title_activity_main">MainActivity</string>
</resources>
When I compile and run activity_main.xml I receive the following error message:
Error in an XML file: aborting build
I thought someone would be able to look at the above XML files and see something I have missed.
I appreciate any help/pointers that enable me to see what I have done wrong.
TIA,
Brian

