summaryrefslogtreecommitdiff
path: root/core/java/android/view/WindowManager.java
diff options
context:
space:
mode:
authorChet Haase <chet@google.com>2013-04-30 16:45:42 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2013-04-30 16:45:42 -0700
commitb713a15f099bec6ce70c4e09d853ec2d8b085c0a (patch)
tree7c67ea2164900126922062065155cef5e0b661d2 /core/java/android/view/WindowManager.java
parent6fd43d2de1aafedd63528b117d3640f614f42359 (diff)
parent8afd195d47d2813822a388fbd0ea69228deafcf0 (diff)
am 8afd195d: am 6b313da0: Merge "Clarify behavior of fullscreen mode and softInputMode\'s adjustResize" into jb-mr2-dev
* commit '8afd195d47d2813822a388fbd0ea69228deafcf0': Clarify behavior of fullscreen mode and softInputMode's adjustResize
Diffstat (limited to 'core/java/android/view/WindowManager.java')
-rw-r--r--core/java/android/view/WindowManager.java10
1 files changed, 8 insertions, 2 deletions
diff --git a/core/java/android/view/WindowManager.java b/core/java/android/view/WindowManager.java
index 0fe582b6d9ed..514488999d65 100644
--- a/core/java/android/view/WindowManager.java
+++ b/core/java/android/view/WindowManager.java
@@ -624,7 +624,10 @@ public interface WindowManager extends ViewManager {
* Window flag: hide all screen decorations (such as the status bar) while
* this window is displayed. This allows the window to use the entire
* display space for itself -- the status bar will be hidden when
- * an app window with this flag set is on the top layer.
+ * an app window with this flag set is on the top layer. A fullscreen window
+ * will ignore a value of {@link #SOFT_INPUT_ADJUST_RESIZE} for the window's
+ * {@link #softInputMode} field; the window will stay fullscreen
+ * and will not resize.
*
* <p>This flag can be controlled in your theme through the
* {@link android.R.attr#windowFullscreen} attribute; this attribute
@@ -1114,7 +1117,10 @@ public interface WindowManager extends ViewManager {
* method. This can <em>not</em> be combined with
* {@link #SOFT_INPUT_ADJUST_PAN}; if
* neither of these are set, then the system will try to pick one or
- * the other depending on the contents of the window.
+ * the other depending on the contents of the window. If the window's
+ * layout parameter flags include {@link #FLAG_FULLSCREEN}, this
+ * value for {@link #softInputMode} will be ignored; the window will
+ * not resize, but will stay fullscreen.
*/
public static final int SOFT_INPUT_ADJUST_RESIZE = 0x10;