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 android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en