ok, line 17 of my main java fie is

import android.view.View.OnClickListener;

and line 17 of my main .xml is

        android:text="Back"

those are the only 2 files in my app, other than the .txt files that
are loaded

here is the full main.xml if it helps

<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/
android"
    android:orientation="vertical"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
    >
    <WebView
        android:id="@+id/webview"
    android:layout_width="fill_parent"
    android:layout_height="wrap_content"
    android:layout_marginBottom="50dip"
    />
            <Button
        android:id="@+id/back"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:text="Back"
                android:layout_alignParentBottom="true"/>

                <TextView
        android:id="@+id/textview"
        android:gravity="center_horizontal"
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
                android:layout_alignParentBottom="true"
                android:layout_marginLeft="50dip"
                android:layout_marginRight="50dip"
                android:layout_marginBottom="15dip"
                />

        <Button
        android:id="@+id/next"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:text="Next"
        android:layout_alignParentBottom="true"
        android:layout_alignParentRight="true"
/>

</RelativeLayout>


On 16 July, 23:34, Mark Murphy <mmur...@commonsware.com> wrote:
> erykthege...@googlemail.com wrote:
> > 07-16 18:11:42.991: ERROR/AndroidRuntime(21831):
> > android.view.InflateException: Binary XML file line #17: Error
> > inflating class java.lang.reflect.Constructor
>
> Can you post the layout file corresponding to this error? What is on
> line #17?
>
> --
> Mark Murphy (a Commons 
> Guy)http://commonsware.com|http://twitter.com/commonsguy
>
> Looking for Android opportunities?http://wiki.andmob.org/hado
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to