如何让我的键盘在androi中可见 [英] How to make my keyboard visible in androi

查看:79
本文介绍了如何让我的键盘在androi中可见的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

HI

我需要我的应用程序以使用户更友好..

我希望我的文本键盘在某个页面中自动显示..

你能指导我..



我想做什么..







先谢谢

解决方案

programatically-hide-show-android-soft-keyboard [ ^ ]


你可以通过写这个代码在manifestfile中给它

 android:windowSoftInputMode =stateVisible



或java代码写入

  this  .getWindow()。setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_STATE_VISIBLE); 

< /块引用>

HI
I need my app to make more user-friendly..
I want my text keyboard to visible automatically in a certain page..
Can you guide me..

What i waant to do..



Thanks in Advance

解决方案

programatically-hide-show-android-soft-keyboard[^]


you can give it in manifestfile by writting this code

android:windowSoftInputMode="stateVisible"


or in java code by writting

this.getWindow().setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_STATE_VISIBLE);


这篇关于如何让我的键盘在androi中可见的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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