android - UI Rezising Lags when Keyboard gone -
i'm developing following layout.
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
Post a Comment