Android keyboard lags / slow on close with adjustResize

I have a custom layout as a form field in action.

The layout structure of the custom layout is as follows:

<Relative Layout A>
           <Linear Layout B>
                 <Relative Layout C>
                      <Text View>
                      <Edit Text>
                 </Relative Layout C Ends>
                 <Relative Layout D>
                      <Text View>
                      <Image View>
                 </Relative Layout D Ends>
                 <Relative Layout E>
                      <Text View>
                      <Image View>
                 </Relative Layout E Ends>
           </Linear Layout B Ends>
           <View for horizontal line>
</Relative Layout A ends>

This is the form field that is added when the button is clicked.

When the Android keyboard is closed, it slowly closes and causes some lag, which leads to a short-term state of the keyboard as follows:

Only editing text from the layout is currently displayed.  The more custom fields I add to this layout, the worse this lag. With 4 such fields, this is a good 2 seconds.

adjustPan adjustResize AndroidManifest. , . - , , ? !

P.S.: , .

+4

All Articles