【发布时间】:2011-06-15 19:48:42
【问题描述】:
我有编辑文本字段,我必须在其中输入密码,但我必须推送此字段。如何在不触摸编辑文本的情况下自动弹出键盘?
有一个编辑文本 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"/>
【问题讨论】: