Here is my Main.axml file
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:paddingLeft="0dp"
android:paddingRight="0dp"
android:background="@string/white">
<ImageView
android:id="@+id/AppHomeButton"
android:layout_alignParentTop="true"
android:layout_alignParentLeft="true"
android:layout_toLeftOf="@+id/SettingsButton"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:paddingLeft="0dp"
android:paddingRight="0dp"
android:paddingTop="0dp"
android:paddingBottom="0dp"
android:src="@drawable/appiconimage" />
<ImageButton
android:id="@id/SettingsButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentTop="true"
android:layout_toLeftOf="@+id/SearchButton"
android:paddingLeft="0dp"
android:paddingRight="0dp"
android:paddingTop="0dp"
android:paddingBottom="0dp"
android:src="@drawable/settingsicon" />
<ImageButton
android:id="@id/SearchButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:paddingLeft="0dp"
android:paddingRight="0dp"
android:paddingTop="0dp"
android:paddingBottom="0dp"
android:src="@drawable/searchicon" />
<TableLayout
android:id="@+id/IconSelectionGrid"
android:layout_below="@id/AppHomeButton"
android:layout_width="fill_parent"
android:layout_above="@+id/BuyTicketsButton"
android:paddingTop="0dp"
android:paddingLeft="0dp"
android:paddingRight="0dp"
android:background="@string/gray">
<TableRow>
<ImageButton
android:id="@+id/ScheduleButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:paddingTop="0dp"
android:paddingLeft="0dp"
android:paddingRight="0dp"
android:paddingBottom="0dp"
android:src="@drawable/scheduleicon" />
<ImageButton
android:id="@+id/MapButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:paddingTop="0dp"
android:paddingLeft="0dp"
android:paddingRight="0dp"
android:paddingBottom="0dp"
android:src="@drawable/mapicon" />
<ImageButton
android:id="@+id/LanternButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:paddingTop="0dp"
android:paddingLeft="0dp"
android:paddingRight="0dp"
android:paddingBottom="0dp"
android:src="@drawable/lanternicon" />
<ImageButton
android:id="@+id/PerformerButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:paddingTop="0dp"
android:paddingLeft="0dp"
android:paddingRight="0dp"
android:paddingBottom="0dp"
android:src="@drawable/performericon" />
</TableRow>
<TableRow>
<ImageButton
android:id="@+id/VendorButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:paddingTop="0dp"
android:paddingLeft="0dp"
android:paddingRight="0dp"
android:paddingBottom="0dp"
android:src="@drawable/vendoricon" />
<ImageButton
android:id="@+id/EventButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:paddingTop="0dp"
android:paddingLeft="0dp"
android:paddingRight="0dp"
android:paddingBottom="0dp"
android:src="@drawable/eventicon" />
<ImageButton
android:id="@+id/TwitterButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:paddingTop="0dp"
android:paddingLeft="0dp"
android:paddingRight="0dp"
android:paddingBottom="0dp"
android:src="@drawable/twittericon" />
<ImageButton
android:id="@+id/FacebookButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:paddingTop="0dp"
android:paddingLeft="0dp"
android:paddingRight="0dp"
android:paddingBottom="0dp"
android:src="@drawable/facebookicon" />
</TableRow>
<TableRow>
<ImageButton
android:id="@+id/GooglePlusButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:paddingTop="0dp"
android:paddingLeft="0dp"
android:paddingRight="0dp"
android:paddingBottom="0dp"
android:src="@drawable/googleplusicon" />
<ImageButton
android:id="@+id/InstagramButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:paddingTop="0dp"
android:paddingLeft="0dp"
android:paddingRight="0dp"
android:paddingBottom="0dp"
android:src="@drawable/instagramicon" />
</TableRow>
</TableLayout>
<ImageButton
android:id="@id/BuyTicketsButton"
android:layout_alignParentBottom="true"
android:layout_alignParentLeft="true"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:paddingLeft="0dp"
android:paddingRight="0dp"
android:paddingTop="0dp"
android:paddingBottom="0dp"
android:src="@drawable/buyticketsicon" />
<ImageButton
android:id="@+id/AdSpace"
android:layout_alignParentBottom="true"
android:layout_alignParentRight="true"
android:layout_toRightOf="@id/BuyTicketsButton"
android:layout_height="wrap_content"
android:paddingLeft="0dp"
android:paddingRight="0dp"
android:paddingTop="0dp"
android:paddingBottom="0dp"
android:src="@drawable/adspaceicon" />
</RelativeLayout>
My Activity is very simple. I just call SetContentView on the Main. The preview screen shows up fine, but when I go to deploy it in the emulator it gives me the InflateException in the RelativeLayout.
What could I be doing wrong?