安卓小疑点。初学者求指导
安卓小问题。菜鸟求指导
<EditText
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/EditText2"
android:inputtype="textpassword"
android:id="@+id/EditText2"/>
出现错误:This text field does not specify an inputType or a hint
但是我查了时inpouttype的问题,可是怎么改也是不对!!求指导!!
------解决方案--------------------
android:inputType="textPassword"
注意字母大小写
<EditText
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/EditText2"
android:inputtype="textpassword"
android:id="@+id/EditText2"/>
出现错误:This text field does not specify an inputType or a hint
但是我查了时inpouttype的问题,可是怎么改也是不对!!求指导!!
------解决方案--------------------
android:inputType="textPassword"
注意字母大小写