fix rotation bug
This commit is contained in:
parent
71a6c93551
commit
d3ead42f8e
@ -1039,6 +1039,12 @@ public abstract class BrowserActivity extends ThemableBrowserActivity implements
|
|||||||
mToolbar.setLayoutParams(new LinearLayout.LayoutParams(LayoutParams.MATCH_PARENT, toolbarSize));
|
mToolbar.setLayoutParams(new LinearLayout.LayoutParams(LayoutParams.MATCH_PARENT, toolbarSize));
|
||||||
mToolbar.setMinimumHeight(toolbarSize);
|
mToolbar.setMinimumHeight(toolbarSize);
|
||||||
mToolbar.requestLayout();
|
mToolbar.requestLayout();
|
||||||
|
|
||||||
|
if (mCurrentView != null && mFullScreen) {
|
||||||
|
showActionBar();
|
||||||
|
mCurrentView.setTranslationY(toolbarSize);
|
||||||
|
mToolbarLayout.setTranslationY(0);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public void closeBrowser() {
|
public void closeBrowser() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user