是否有一个弹出软键盘的Andr​​oid模拟器? [英] Is there a popup soft keyboard in the Android emulator?

查看:115
本文介绍了是否有一个弹出软键盘的Andr​​oid模拟器?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

作为一个菜鸟,我写一个应用程序有很多布局屏幕,并在仿真工作确定,但是当我跑在我的Droid难以置信的软键盘弹出改变了我是使用的LinearLayout布局 - 推搡一些元素放在一边,改变别人的高度!我固定它通过添加的的android:windowSoftInputMode =adjustPan的到清单中的活性元素,但我真的有pferred发现在仿真,而不是一个真正的手机这个问题$ P $

那么,有没有一个弹出软键盘在模拟器上,如果是这样我怎么调用它?


解决方案

是的,有,你只需要点击你的鼠标一个EditText框,它就会打开。

As a noob I wrote an app with lots of layout screens and it worked OK in emulation but when I ran it on my Droid Incredible the soft keyboard popping up changed the layout of a LinearLayout I was using - shoving some elements aside and changing the height of others! I fixed it by adding android:windowSoftInputMode="adjustPan" to the Activity element of the manifest but I really would have preferred to discover this problem in emulation and not on a real phone.

So, is there a popup soft keyboard in the Emulator and if so how do I invoke it?

解决方案

yes there is, you only need to click on an EditText box with your mouse and it will open.

这篇关于是否有一个弹出软键盘的Andr​​oid模拟器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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