In a Tabhost tab interface, there are more than one edittext can be entered, but each time the text box gets focus popup system keyboard, at the bottom of the tab is top to the middle, but also cause the input is not valid;
650) this.width=650; "title=" 2014-12-09_13-10-03.png "src=" http://s3.51cto.com/wyfs02/M01/54/8E/ Wkiol1sghsajqagqaahskadjp3i354.jpg "alt=" Wkiol1sghsajqagqaahskadjp3i354.jpg "/>
For this issue, the following settings can be resolved:
Modify Androidmanifest.xml file to add: Android:windowsoftinputmode= "adjustpan|statevisible" in the activity where Tabhost is located
As follows:
<activity android:name= "com.yag.UI.MainActivity" android:windowsoftinputmode= "Adjustpan|s Tatevisible ">
</activity>
650) this.width=650; "title=" Done1.png "src=" http://s3.51cto.com/wyfs02/M00/54/90/ Wkiom1sghgatajf0aahgc-mba9k305.jpg "alt=" Wkiom1sghgatajf0aahgc-mba9k305.jpg "/>
This article is from the "Qytag (upspringing)" blog, so be sure to keep this source http://qytag.blog.51cto.com/6125308/1587842
Android Learning-Solve the problem of tabhost up when the interface pops up the input box