scrollview not scrolling to bottom android when keyboard opens code example
Example: android scroll view to bottom when keyboard is on
# add this to activity in manifest file
android:windowSoftInputMode="stateAlwaysHidden|adjustResize|stateHidden"
Example:
<activity android:name="com.example.android.views.main.contact.ContactActivity"
android:windowSoftInputMode="stateAlwaysHidden|adjustResize|stateHidden"
/>