Skip to content

Commit fe01444

Browse files
committed
update keyboard docs with windowSoftInputMode info
1 parent 3c15b11 commit fe01444

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

js/utils/keyboard.js

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,13 @@
2929
* - If your app is running in fullscreen, i.e. you have `<preference name="Fullscreen" value="true" />` in your `config.xml` file
3030
* you will need to set `ionic.Platform.isFullScreen = true` manually.
3131
*
32-
* - If you are not using the keyboard plugin, it may be necessary to set `android:windowSoftInputMode="adjustResize"` to
33-
* your activity in `AndroidManifest.xml` to get things working properly.
32+
* - You can configure the behavior of the web view when the keyboard shows by setting
33+
* [android:windowSoftInputMode](http://developer.android.com/reference/android/R.attr.html#windowSoftInputMode) to either `adjustPan`, `adjustResize` or `adjustNothing` in your app's activity in `AndroidManifest.xml`. `adjustResize` is the recommended setting for Ionic, but if for some reason you do use `adjustPan` you will need to set `ionic.Platform.isFullScreen = true`.
34+
*
35+
* ```xml
36+
* <activity android:windowSoftInputMode="adjustResize">
37+
*
38+
* ```
3439
*
3540
* ### iOS Notes
3641
* - if you are not using the keyboard plugin, switching to inputs below the keyboard using the accessory bar will automatically use the native browser's

0 commit comments

Comments
 (0)