|
|
|
|
49
|
private void createAndAddScreenStack(int position) {
|
49
|
private void createAndAddScreenStack(int position) {
|
50
|
ScreenStack newStack = new ScreenStack(activity, params.tabParams.get(position));
|
50
|
ScreenStack newStack = new ScreenStack(activity, params.tabParams.get(position));
|
51
|
screenStacks[position] = newStack;
|
51
|
screenStacks[position] = newStack;
|
52
|
- newStack.setVisibility(GONE);
|
|
|
|
|
52
|
+ newStack.setVisibility(INVISIBLE);
|
53
|
addView(newStack, 0, new LayoutParams(MATCH_PARENT, MATCH_PARENT));
|
53
|
addView(newStack, 0, new LayoutParams(MATCH_PARENT, MATCH_PARENT));
|
54
|
}
|
54
|
}
|
55
|
|
55
|
|
|
|
|
|
170
|
|
170
|
|
171
|
private void hideCurrentStack() {
|
171
|
private void hideCurrentStack() {
|
172
|
ScreenStack currentScreenStack = getCurrentScreenStack();
|
172
|
ScreenStack currentScreenStack = getCurrentScreenStack();
|
173
|
- currentScreenStack.setVisibility(GONE);
|
|
|
|
|
173
|
+ currentScreenStack.setVisibility(INVISIBLE);
|
174
|
}
|
174
|
}
|
175
|
|
175
|
|
176
|
private ScreenStack getCurrentScreenStack() {
|
176
|
private ScreenStack getCurrentScreenStack() {
|