eclipse中没有android EditText是因为没有设置导致:
EditText输入的文字为密码形式的设置
(1)通过.xml里设置:
把该EditText设为:android:password="true" // 以”.”形式显示文本
(2)在代码里设置:
通过设置EditText的setTransformationMethod()方法来实现隐藏密码或这显示密码。
editText.setTransformationMethod(PasswordTransformationMethod.getInstance());//设置密码为不可见。
你好。
在android xml里写
android:layout_height="wrap_content"/>
如果我的回答没能帮助您,请继续追问。
您也可以向我们团队发出请求,会有更专业的人来为您解答。
在android xml里写
android:layout_height="wrap_content"/>