Eclipse AndroidRunTime Error. What am I doing wrong?



I got an AndroidRunTime Error and don't know what I am doing wrong. The LogCat Error is very Long, I only posted the first lines...


LogCat:



Tag: AndroidRunTime

FATAL EXCEPTION: main

java.lang.RuntimeException: Unable to start activity ComponentInfo{http://ift.tt/1ruPT4B}: android.view.InflateException: Binary XML file line #2: Error inflating class <unknown>


XML-Code:



<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://ift.tt/nIICcg"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@drawable/eins" >

<Button
android:id="@+id/button1"
android:layout_width="150dp"
android:layout_height="75dp"
android:layout_alignParentBottom="true"
android:layout_centerHorizontal="true"
android:layout_marginBottom="60dp"
android:background="@drawable/button"
android:onClick="Zwei"
android:text="WEITER" />

<ImageView
android:id="@+id/imageView1"
android:layout_width="300dp"
android:layout_height="300dp"
android:layout_above="@+id/button1"
android:layout_alignParentLeft="true"
android:layout_marginBottom="44dp"
android:layout_marginLeft="22dp"
android:src="@drawable/Rad" />

</RelativeLayout>

No comments:

Post a Comment