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?
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?
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
.