|
@@ -285,7 +285,7 @@ public class BottomTabsLayout extends BaseLayout implements AHBottomNavigation.O
|
285
|
285
|
@Override
|
286
|
286
|
public void newStack(final ScreenParams params) {
|
287
|
287
|
ScreenStack currentScreenStack = getCurrentScreenStack();
|
288
|
|
- currentScreenStack.newStack(params, new LayoutParams(MATCH_PARENT, MATCH_PARENT));
|
|
288
|
+ currentScreenStack.newStack(params, createScreenLayoutParams(params));
|
289
|
289
|
bottomTabs.setStyleFromScreen(params.styleParams);
|
290
|
290
|
EventBus.instance.post(new ScreenChangedEvent(params));
|
291
|
291
|
}
|