|
@@ -1,4 +1,4 @@
|
1
|
|
-package com.reactnativenavigation.layouts;
|
|
1
|
+package com.reactnativenavigation.screens;
|
2
|
2
|
|
3
|
3
|
import android.content.Context;
|
4
|
4
|
import android.support.annotation.NonNull;
|
|
@@ -7,7 +7,6 @@ import android.support.v4.view.PagerAdapter;
|
7
|
7
|
import android.support.v4.view.ViewPager;
|
8
|
8
|
import android.view.View;
|
9
|
9
|
import android.view.ViewGroup;
|
10
|
|
-import android.widget.RelativeLayout;
|
11
|
10
|
|
12
|
11
|
import com.reactnativenavigation.params.ScreenParams;
|
13
|
12
|
import com.reactnativenavigation.params.TopTabParams;
|
|
@@ -51,7 +50,7 @@ public class TabbedScreen extends Screen {
|
51
|
50
|
private LayoutParams addBelowTopBar() {
|
52
|
51
|
LayoutParams params = new LayoutParams(MATCH_PARENT, MATCH_PARENT);
|
53
|
52
|
if (!screenParams.styleParams.drawUnderTopBar) {
|
54
|
|
- params.addRule(RelativeLayout.BELOW, topBar.getId());
|
|
53
|
+ params.addRule(BELOW, topBar.getId());
|
55
|
54
|
}
|
56
|
55
|
return params;
|
57
|
56
|
}
|