You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm design my database page with Scafford and OutlinedTextField, but I got a problem: Scafford is always influenced by ime whether I use imePadding modifier or change this bottomBar to content.
SVID_20250318_013525_1.mp4
If I use imePadding modifier, not only the whole Scafford is raised up, but also I got 2x imePadding
SVID_20250318_013558_1.mp4
What should I do? I want the Scafford's topBar and content are static and only bottomBar's bottom (maybe with fab) compat with ime. (Only bottomBar raising up)
My Code
Here is my Scafford segment, if you want the whole project, I'll share it on github.
Can you share your AndroidManifest.xml file? Seems like you are missing "windowSoftInputMode" attribute for the activity.
Try adding android:windowSoftInputMode="adjustResize" to the app's activity in AndroidManifest.xml and imePadding() should work just fine. adjustResize tells the activity to resize when keyboard popups.
What happened?
I'm design my database page with Scafford and OutlinedTextField, but I got a problem: Scafford is always influenced by ime whether I use imePadding modifier or change this bottomBar to content.
SVID_20250318_013525_1.mp4
If I use imePadding modifier, not only the whole Scafford is raised up, but also I got 2x imePadding
SVID_20250318_013558_1.mp4
What should I do? I want the Scafford's topBar and content are static and only bottomBar's bottom (maybe with fab) compat with ime. (Only bottomBar raising up)
My Code
Here is my Scafford segment, if you want the whole project, I'll share it on github.
The text was updated successfully, but these errors were encountered: