This post might help you also.

http://groups.google.com/group/android-developers/browse_thread/thread/f169c76bc7faccaf/cab78c24a36d3101?lnk=raot&pli=1

Also if you have done a sample for inflation.Could share a code snippet.I
also need it.

Thanks

On Mon, Oct 20, 2008 at 8:07 AM, Romain Guy <[EMAIL PROTECTED]> wrote:

>
> In the Logcat view of Eclipse (or from a shell, type adb logcat), you
> will see the full stack trace with the explanation of what's wrong.
>
> On Sun, Oct 19, 2008 at 7:34 PM, DulcetTone <[EMAIL PROTECTED]> wrote:
> >
> > I have an XML file that causes an inflate exception with no
> > discernible detail to help me diagnose what went wrong
> >
> > What is the best way to get Android to offer details on what was
> > objectionable?
> >
> > tone
> >
> > FYI, here was the XML:
> >
> > <?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="wrap_content"
> >                android:padding="10px">
> >
> >        <Spinner android:id="@+id/skin_name"
> >                        android:layout_width="fill_parent"
> >                        android:layout_height="wrap_content"
> >                        android:drawSelectorOnTop="false"/>
> >
> >        <TextField android:id="@+id/ospeed_label"
> >                        android:text="Output Speed"
> >                        android:layout_width="wrap_content"
> >                        android:layout_height="wrap_content"
> >                        android:layout_below="@id/skin_name"/>
> >
> >        <SeekBar android:id="@+id/ospeed"
> >                        android:layout_width="wrap_content"
> >                        android:layout_height="wrap_content"
> >                        android:layout_toRightOf="@id/ospeed_label"/>
> >
> >
> >        <CheckBox android:id="@+id/var_output"
> >                        android:text="Do incoming VAR"
> >                        android:layout_width="wrap_content"
> >                        android:layout_height="wrap_content"
> >                        android:layout_below="@id/ospeed"/>
> >
> >
> >        <TextField android:id="@+id/ispeed_label"
> >                        android:text="Input Speed"
> >                        android:layout_width="wrap_content"
> >                        android:layout_height="wrap_content"
> >                        android:layout_below="@id/var_output"/>
> >
> >        <SeekBar android:id="@+id/ispeed"
> >                        android:layout_width="wrap_content"
> >                        android:layout_height="wrap_content"
> >                        android:layout_toRightOf="@id/ispeed_label"/>
> >
> >
> >    <Button android:id="@+id/ok"
> >            android:layout_width="wrap_content"
> >            android:layout_height="wrap_content"
> >            android:layout_below="@id/ispeed"
> >            android:layout_alignParentRight="true"
> >            android:layout_marginLeft="10px"
> >            android:text="OK" />
> >
> >    <Button android:layout_width="wrap_content"
> >            android:layout_height="wrap_content"
> >            android:layout_toLeftOf="@id/ok"
> >            android:layout_alignTop="@id/ok"
> >            android:text="Cancel" />
> > </RelativeLayout>
> >
> >
> > >
> >
>
>
>
> --
> Romain Guy
> www.curious-creature.org
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to