I am wondering if you can specify programmatically or in xml the way to use windowSoftInputModefor Fragment.
windowSoftInputMode
Fragment
Say I only have one activitycontaining two Fragment, one fragment should use adjustPanand the other adjustResize. How should I do it?
activity
adjustPan
adjustResize
Thank!
You can change the behavior programmatically, see this answer for this .
, : A , getActivity(), , , .
getActivity()
B, .
WindowManager.LayoutParams.SOFT_INPUT_ADJUST_RESIZE
WindowManager.LayoutParams.SOFT_INPUT_ADJUST_PAN
Source: https://habr.com/ru/post/1656974/More articles:find - grep takes too long - bashLinux - How to find files modified in the last 12 hours without the find command - linuxHow to run Windows bash in C # - c #Stop sharing node geometry with its clone - swiftPython for CSV splits a row into two columns when I want one - pythonПочему я не могу использовать `app` вместе с` fold_right` в Coq? - coqHow to disable the back button after starting startActivityForResult in FirebaseUI? - androidTomcat should log in twice with LDAP - javasendSendRequestForAuthenticationChallenge method called recursive - iosHow to apply opacity mask to a QML element? - qtAll Articles