I have a form accidents.
How I can scroll to bottom, when I use keyboard ?
Normally when I use activity I put android:windowSoftInputMode="adjustResize"
.
But now I'm using fragments, and I can't define in my manifest, searching for internet I found :
getActivity().getWindow().setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_ADJUST_RESIZE);
But it's not Working.
Related posts:
android making layout scrollable when soft keyboard open, but not shifting it upwards