Browse Source

fix rotation bug

master
Anthony Restaino 9 years ago
parent
commit
d3ead42f8e
  1. 6
      app/src/main/java/acr/browser/lightning/activity/BrowserActivity.java

6
app/src/main/java/acr/browser/lightning/activity/BrowserActivity.java

@ -1039,6 +1039,12 @@ public abstract class BrowserActivity extends ThemableBrowserActivity implements @@ -1039,6 +1039,12 @@ public abstract class BrowserActivity extends ThemableBrowserActivity implements
mToolbar.setLayoutParams(new LinearLayout.LayoutParams(LayoutParams.MATCH_PARENT, toolbarSize));
mToolbar.setMinimumHeight(toolbarSize);
mToolbar.requestLayout();
if (mCurrentView != null && mFullScreen) {
showActionBar();
mCurrentView.setTranslationY(toolbarSize);
mToolbarLayout.setTranslationY(0);
}
}
public void closeBrowser() {

Loading…
Cancel
Save