I have set the image in background, when i open the keyboard the image gets squeezed from the top.
I also don’t want my EditText field to move to the top.
I have set the image in background, when i open the keyboard the image
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Generally your activity’s layout will be resized when the virtual keyboard is shown. This can cause views positioned within the activity to shift around. The specific behavior is determined by the layout you’re using and the layout parameters you’ve set.
To keep your layout the same size when the virtual keyboard is shown, set the
android:windowSoftInputModeattribute toadjustPanin the activity definition in AndroidManifest.xml. Here’s an example activity:You can read more about the other flags that can be set here in the Android developer documentation for this.