Exception raised during rendering: android.widget.EditText cannot be cast to android.view.ViewGroup Exception details are logged in Window > Show View > Error Log
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="wrap_content" android:layout_height="wrap_content" tools:context=".MainActivity_0001" > <TextView android:id="@+id/textView1" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignParentLeft="true" android:layout_alignTop="@+id/editText1" android:text="姓名:" android:textColor="#606060" android:textSize="20sp" /> <EditText android:id="@+id/editText1" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_alignParentTop="true" android:layout_toRightOf="@+id/textView1" <requestFocus/> <EditText/> <TextView android:id="@+id/textView3" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignParentLeft="true" android:layout_below="@+id/editText1" android:layout_marginTop="18dp" android:text="密码:" android:textColor="#606060" android:textSize="20sp" /> <EditText android:id="@+id/editText3" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignBottom="@+id/textView3" android:layout_alignLeft="@+id/editText1" android:layout_alignParentRight="true" android:ems="10" android:inputType="textPassword" /> <LinearLayout/>
不知道问题出在哪了。。。。