Android: Background image resize on keyboard pop up
Just use in your onCreate()
this code:
protected void onCreate(Bundle savedInstanceState) {... getWindow().setBackgroundDrawableResource(R.drawable.your_image_resource);...}
and eliminate this line in your xml:
android:background="@drawable/background"
Read more at:
http://developer.android.com/reference/android/view/Window.html
I had faced the similar issue once, mine was solved by using the below properties in manifest use it where your activity is declared.
android:windowSoftInputMode="stateHidden|adjustResize|adjustPan"
Hey can you please try adding this
android:isScrollContainer="false"
in your ScrollView. It has solved my problem once. Might help u too.
Also, add this to your activity in manifest.xml
android:windowSoftInputMode="adjustPan"
Hope it helps..!! :)