隐藏的Andr​​oid键盘的EditText [英] Hiding the android keyboard for EditText

查看:97
本文介绍了隐藏的Andr​​oid键盘的EditText的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

每当我点击的EditText 显示Android键盘弹出窗口,但我不想键盘弹出。

Whenever I click in the EditText the Android keyboard popup window appears, but I don't want the keyboard to pop up.

我要永久隐藏Android键盘弹出我当前的应用程序。

I want to permanently hide the android keyboard popup for my current application.

我怎样才能做到这一点?

How can I do this?

推荐答案

您可以尝试伪造你的EditText上有这样一个按钮:

You may try to fake your EditText with a Button like this:

 <Button
     android:id="@+id/edit_birthday"
     style="@android:style/Widget.EditText"
     android:layout_width="fill_parent"
     android:layout_height="wrap_content"
     android:hint="@string/hint_birthday"/>

这篇关于隐藏的Andr​​oid键盘的EditText的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆