I have a Fragment that uses `ComposeView`, where t...
# compose
a
I have a Fragment that uses
ComposeView
, where there is an
Image
that acts as the initial UI when there are no search results yet. When the search bar is tapped and the keyboard is opened, this
Image
gets pushed up--I have
android:windowSoftInputMode="adjustResize"
set in the app Manifest and I need it for other text fields in the app. Is there any way to turn off
adjustResize
only for this specific Fragment? I know I can just use
setSoftInputMode
in my Fragment but returning to
adjustResize
isn't possible with the same API since `SOFT_INPUT_ADJUST_RESIZE`is deprecated. I've tried setting
Window.setDecorFitsSystemWindows
to false but it only results in weird behavior for the rest of the app, i.e., when the keyboard is open, some
Rows
and
TextFields
are pushed down.
K 1
101 Views