I don't know why you all complexing the problem. I t is just a missing
classname in provided namespace.
 As I can see there is no TextField in res/android namespace better
you try TextView.


On Mon, Oct 20, 2008 at 8:04 AM, 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>
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
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