Background image of the activity distorts when you open the keyboard

0

I'm developing an application in which it has a background image of the image. But every time I open the virtual keyboard to fill a field, that image flattens. How do I prevent this from happening?

    
asked by anonymous 15.05.2015 / 05:06

1 answer

2

I found a very similar topic in stack overflow . According to him, just add this to the Activity in your manifest:

android:windowSoftInputMode="stateVisible|adjustPan"

It seems that the problem is caused by having ScrollView within Activity .

    
15.05.2015 / 05:25