|
@@ -158,7 +158,7 @@ public class StackController extends ParentController<StackLayout> {
|
158
|
158
|
view.setLayoutParams(new RelativeLayout.LayoutParams(MATCH_PARENT, MATCH_PARENT));
|
159
|
159
|
child.setWaitForRender(resolvedOptions.animations.push.waitForRender);
|
160
|
160
|
presenter.applyLayoutParamsOptions(resolvedOptions, view);
|
161
|
|
- getView().addView(view);
|
|
161
|
+ getView().addView(view, getView().getChildCount() - 1);
|
162
|
162
|
}
|
163
|
163
|
|
164
|
164
|
public void setRoot(ViewController child, CommandListener listener) {
|
|
@@ -312,7 +312,7 @@ public class StackController extends ParentController<StackLayout> {
|
312
|
312
|
child.setLayoutParams(new RelativeLayout.LayoutParams(MATCH_PARENT, MATCH_PARENT));
|
313
|
313
|
Options options = resolveCurrentOptions();
|
314
|
314
|
presenter.applyLayoutParamsOptions(options, child);
|
315
|
|
- stackLayout.addView(child);
|
|
315
|
+ stackLayout.addView(child, 0);
|
316
|
316
|
}
|
317
|
317
|
|
318
|
318
|
private void onNavigationButtonPressed(String buttonId) {
|