mirror of
https://github.com/M66B/FairEmail.git
synced 2025-02-21 21:57:19 +00:00
Scroll to advanced button
This commit is contained in:
parent
38d4c4ae88
commit
0ee99f20dc
2 changed files with 2 additions and 4 deletions
|
@ -401,7 +401,7 @@ public class FragmentAccount extends FragmentEx {
|
|||
new Handler().post(new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
((ScrollView) view).smoothScrollTo(0, cbSynchronize.getTop());
|
||||
((ScrollView) view).smoothScrollTo(0, btnAdvanced.getTop());
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
|
@ -88,7 +88,6 @@ public class FragmentIdentity extends FragmentEx {
|
|||
private ImageButton ibPro;
|
||||
|
||||
private Button btnAdvanced;
|
||||
private TextView tvProvider;
|
||||
private Spinner spProvider;
|
||||
private EditText etDomain;
|
||||
private Button btnAutoConfig;
|
||||
|
@ -148,7 +147,6 @@ public class FragmentIdentity extends FragmentEx {
|
|||
ibPro = view.findViewById(R.id.ibPro);
|
||||
|
||||
btnAdvanced = view.findViewById(R.id.btnAdvanced);
|
||||
tvProvider = view.findViewById(R.id.tvProvider);
|
||||
spProvider = view.findViewById(R.id.spProvider);
|
||||
etDomain = view.findViewById(R.id.etDomain);
|
||||
btnAutoConfig = view.findViewById(R.id.btnAutoConfig);
|
||||
|
@ -283,7 +281,7 @@ public class FragmentIdentity extends FragmentEx {
|
|||
new Handler().post(new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
((ScrollView) view).smoothScrollTo(0, tvProvider.getTop());
|
||||
((ScrollView) view).smoothScrollTo(0, btnAdvanced.getTop());
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue