fix rotation bug

This commit is contained in:
Anthony Restaino 2016-02-12 21:51:56 -05:00
parent 71a6c93551
commit d3ead42f8e

View File

@ -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() {