FinishActivity: prevent jumping layout when finishing
When setting up the finishing sequence, the navigation bar gets hidden, resulting in the layout adjusting and moving. Once the start button is pressed, pressing back on the navigation bar is ignored. Change-Id: Ibb961ab059c2b8be38e88db691d4293e180f3b1c Signed-off-by: Alexander Martinz <amartinz@shiftphones.com>
This commit is contained in:
committed by
Jan Altensen (Stricted)
parent
78b01d53c8
commit
f85129e80b
@@ -259,9 +259,7 @@ public abstract class BaseSetupWizardActivity extends Activity implements Naviga
|
||||
|
||||
protected void hideNextButton() {
|
||||
if (mNavigationBar != null) {
|
||||
Animation fadeOut = AnimationUtils.loadAnimation(this, android.R.anim.fade_out);
|
||||
final Button next = mNavigationBar.getNextButton();
|
||||
next.startAnimation(fadeOut);
|
||||
next.setVisibility(INVISIBLE);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user