|
@@ -50,7 +50,9 @@ public class BottomTabsLayout extends RelativeLayout implements Layout, AHBottom
|
50
|
50
|
ScreenStack newStack = new ScreenStack(activity, params.tabParams.get(position));
|
51
|
51
|
screenStacks[position] = newStack;
|
52
|
52
|
newStack.setVisibility(INVISIBLE);
|
53
|
|
- addView(newStack, 0, new LayoutParams(MATCH_PARENT, MATCH_PARENT));
|
|
53
|
+ LayoutParams lp = new LayoutParams(MATCH_PARENT, MATCH_PARENT);
|
|
54
|
+ lp.addRule(ABOVE, bottomTabs.getId());
|
|
55
|
+ addView(newStack, 0, lp);
|
54
|
56
|
}
|
55
|
57
|
|
56
|
58
|
private void createBottomTabs() {
|