/**
* Window type: system window, such as low power alert. These windows
* are always on top of application windows.
* In multiuser systems shows only on the owning user's window.
*/
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
setWindowLayoutType(WindowManager.LayoutParams.TYPE_SYSTEM_ALERT);
setWindowLayoutType(WindowManager.LayoutParams.TYPE_SYSTEM_ERROR);
<activity
android:name=
".ui.MainActivity"
android:launchMode=
"singleTask"
android:screenOrientation=
"landscape"
android:windowSoftInputMode=
"adjustNothing|stateHidden"
/>
<activity
android:name=
".ui.MainActivity"
android:launchMode=
"singleTask"
android:screenOrientation=
"landscape"
android:windowSoftInputMode=
"adjustPan|stateHidden"
/>
|
本文转自 吴雨声 51CTO博客,原文链接:http://blog.51cto.com/liangxiao/1931813,如需转载请自行联系原作者