-2
我該如何解決這個問題?錯誤:在'android'包中找不到屬性'username'的資源標識符。我的代碼如下:錯誤:找不到包'android'中屬性'username'的資源標識符
<!-- Username Label -->
<TextView android:layout_width="fill_parent" android:layout_height="wrap_content"
android:textColor="#372c24"
android:text="Username"/>
<EditText android:layout_width="fill_parent" android:layout_height="wrap_content"
android:layout_marginTop="5dip"
android:layout_marginBottom="20dip"
android:singleLine="true"
android:username="true"/>
從'EditText'刪除這個'android:username =「true」' –
android中不存在屬性'android:username'。 –