在儿童的ActivityGroup错误TabActivity [英] Bugs TabActivity in Child ActivityGroup
问题描述
我创建了一个TabActivity ...
I created a TabActivity ...
在第一个选项卡,我调用类的输入
and in the first tab, I call the class 'input'
我用的ActivityGroup ..这个例子中,当我调用类的输入
I use ActivityGroup .. this example when I call the class 'input'
TabGroupActivity parentActivity = (TabGroupActivity)getParent();
Intent intent = new Intent(getParent(), Input.class);
parentActivity.startChildActivity("Input", intent);
在孩子的活动,我做了一个的EditText。这个例子说明我的意思图片...
Within the child activity, I made a edittext. This example image of what I mean ...
但是,当我输入文字,并且虚拟键盘了...
But when I enter text, and a virtual keyboard out ...
虚拟键盘没有出现在标签上面,但他推虚拟键盘上面的标签。这个例子形象是我的意思...
virtual keyboard does not appear above the tabs, but he pushed the tab above the virtual keyboard .. This example image is what I mean ...
见上图,标签虚拟键盘上方。
see image above, tab above the virtual keyboard ..
这会发生,如果我这样做,孩子活动组中。如果我把EditText上主选项卡上。一切都进行得很顺利。
This happens if I do it in the child activity group .. if I put edittext on the main tab. everything went smoothly ..
我需要一个一个问题的解决方案,我可以...
I need a solution about a problem that I can ...
亲切的问候,
Vootsugu
推荐答案
我也面临着类似的issue.Thanks提前。 我通过把在AndroidManifest.xml中解决它,下面添加到您的具体活动:
I am also facing the similar issue.Thanks in advance. I solved it via putting in AndroidManifest.xml, and add the following to your specific activity:
android:windowSoftInputMode="adjustPan"
这篇关于在儿童的ActivityGroup错误TabActivity的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!