I have a DialogFragment where a ScrollView with some EditText fields. If the user clicks on the latter, it should be moved to the beginning of the dialog directly below the heading. If I just go to this field using scrollView.smoothScrollTo (0, view), it just appears above the soft keyboard, but all the other fields for this last are still displayed. If I make all fields visible above “GONE”, it works fine, but the user cannot scroll back, but I need it. I do not know if this is possible on Android at all. Can anyone help me out? I spent three days on this problem, but could not find a solution. Any help would be appreciated!
EDIT: The screenshots are what I have:

and what i need:
