Scroll to save button on selecting save changes

This commit is contained in:
M66B
2019-06-19 15:02:13 +02:00
parent 5cb41067cd
commit 12bc1c02eb
4 changed files with 24 additions and 0 deletions

View File

@@ -1054,6 +1054,12 @@ public class FragmentAccount extends FragmentBase {
.setPositiveButton(android.R.string.ok, new DialogInterface.OnClickListener() {
@Override
public void onClick(DialogInterface dialog, int which) {
new Handler().post(new Runnable() {
@Override
public void run() {
scroll.smoothScrollTo(0, btnSave.getBottom());
}
});
onSave(false);
}
})