summaryrefslogtreecommitdiff
path: root/library/main/src/com/android
diff options
context:
space:
mode:
authorMaurice Lam <yukl@google.com>2015-05-29 15:29:22 -0700
committerMaurice Lam <yukl@google.com>2015-05-29 15:29:22 -0700
commit8fc85be65673f6ec8b3202d8b3fc644a3adeeded (patch)
tree39d3134958ba5d095f59521114a0e8a2a21e0fd2 /library/main/src/com/android
parentb5c78954c32ef124b5df7ab539d6579cb4506f50 (diff)
downloadsetupwizard-8fc85be65673f6ec8b3202d8b3fc644a3adeeded.tar.gz
[SetupWizardLib] Update comments for SystemBarHelper
Update the comments to mention that adjustResize is needed for SystemBarHelper.setImeInsetView to have effect. Change-Id: I66de333911b8baf3a74c064d55e609e74ee74172
Diffstat (limited to 'library/main/src/com/android')
-rw-r--r--library/main/src/com/android/setupwizardlib/util/SystemBarHelper.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/library/main/src/com/android/setupwizardlib/util/SystemBarHelper.java b/library/main/src/com/android/setupwizardlib/util/SystemBarHelper.java
index ff6e05f..2bc00a1 100644
--- a/library/main/src/com/android/setupwizardlib/util/SystemBarHelper.java
+++ b/library/main/src/com/android/setupwizardlib/util/SystemBarHelper.java
@@ -147,6 +147,9 @@ public class SystemBarHelper {
* view to be immediately above the keyboard, and assumes that the view sits immediately above
* the navigation bar.
*
+ * Note that you must set windowSoftInputMode to adjustResize for this class to work. Otherwise
+ * window insets are not dispatched and this method will have no effect.
+ *
* This will only take effect in versions Lollipop or above. Otherwise this is a no-op.
*
* @param view The view to be resized when the keyboard is shown.