android - UI Rezising Lags when Keyboard gone -


i'm developing following layout.

enter image description here

when keybaord displayed, ui resized available space (state 'a'). when keybaord hides, ui again resizes fill entire screen (state 'b'). there visible lag in ui when going state 'a' state 'b'. there way avoid lag or provide smooth resize.

update: i'm using android:windowsoftinputmode="adjustresize" in manifest activity. given screenshot sample. actual layout contains more complex layout may causing lag on resize, 1 describes issue. there way implement animated resize ui keyboard hide? highly apreciated.

in manifest file under activity tag add:

 android:windowsoftinputmode="adjustpan" 

will solve problem!!


Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

Python ctypes access violation with const pointer arguments -