------ Solutions ----------------------------------- --------------------- < >
Set full screen, there are two ways, as follows:
set in code:
public void onCreate (Bundle savedInstanceState) {
super.onCreate (savedInstanceState);
/ / set no title
requestWindowFeature (Window.FEATURE_NO_TITLE);
/ / Set fullscreen
getWindow (). setFlags (WindowManager.LayoutParams.FLAG_FULLSCREEN,
WindowManager.LayoutParams.FLAG_FULLSCREEN);
setContentView (R.layout.main);
}
In the configuration file in the manifest
android: versionCode = "1"
android: versionName = "1.0">
android: label = "@ string / app_name" ;>
As for your the soft keyboard, take a look through the full set, use the android: windowSoftInputMode = "stateHidden | adjustResize can achieve the effect you want!
< >
------ Solutions ----------------------------------- --------------------- < >
Try
android: windowSoftInputMode = "adjustPan" < >
------ Solutions ----------------------------------- --------------------- < >
Bangding, but also more to this issue. . .
you add a layer of scrollView in WebView try it out? I added into the black, and you try it, I say if the settlement. . . I was out of the box with the interface. . . Depressed ing < >
没有评论:
发表评论