Why have you defined an android1 namespace?

Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware


On Mon, May 7, 2012 at 7:14 AM, kiran g <[email protected]> wrote:

>  Hi,
>
> I am new to Android..
> my problem is    "Switch button in android generating  an
> error".please help me.
> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/
> android"
>    android:layout_width="fill_parent"
>    android:layout_height="fill_parent" xmlns:android1="http://
> schemas.android.com/apk/res/android">
>
>    <Switch
>        android1:id="@+id/switch1"
>        android1:layout_width="wrap_content"
>        android1:layout_height="wrap_content"
>        android1:text="Switch" />
>
> </LinearLayout>
>
> The Error is
> "Missing styles. Is the correct theme chosen for this layout?
> Use the Theme combo box above the layout to choose a different layout,
> or fix the theme style references."
>
> --
> 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

-- 
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