我有一个编辑文本框,需要输入密码,但是我必须点击这个字段。如何在不触摸编辑文本的情况下自动弹出键盘?
有一个编辑文本的XML字段:
<EditText
android:id="@+id/editPasswd"
android:focusable="true"
android:focusableInTouchMode="true"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:inputType="phone"
android:password="true"/>