|
@@ -4,9 +4,8 @@ import android.graphics.Color;
|
4
|
4
|
import android.graphics.drawable.Drawable;
|
5
|
5
|
import android.os.AsyncTask;
|
6
|
6
|
import android.os.Bundle;
|
7
|
|
-import android.view.Menu;
|
|
7
|
+import android.support.design.widget.CoordinatorLayout;
|
8
|
8
|
import android.view.View;
|
9
|
|
-import android.widget.FrameLayout;
|
10
|
9
|
|
11
|
10
|
import com.aurelhubert.ahbottomnavigation.AHBottomNavigation;
|
12
|
11
|
import com.aurelhubert.ahbottomnavigation.AHBottomNavigationItem;
|
|
@@ -38,7 +37,7 @@ public class BottomTabActivity extends BaseReactActivity implements AHBottomNavi
|
38
|
37
|
private static boolean DEFAULT_TAB_INACTIVE_TITLES = true;
|
39
|
38
|
|
40
|
39
|
private AHBottomNavigation mBottomNavigation;
|
41
|
|
- private FrameLayout mContentFrame;
|
|
40
|
+ private CoordinatorLayout mContentFrame;
|
42
|
41
|
private ArrayList<ScreenStack> mScreenStacks;
|
43
|
42
|
private int mCurrentStackPosition = -1;
|
44
|
43
|
|
|
@@ -50,7 +49,7 @@ public class BottomTabActivity extends BaseReactActivity implements AHBottomNavi
|
50
|
49
|
setContentView(R.layout.bottom_tab_activity);
|
51
|
50
|
mToolbar = (RnnToolBar) findViewById(R.id.toolbar);
|
52
|
51
|
mBottomNavigation = (AHBottomNavigation) findViewById(R.id.bottom_tab_bar);
|
53
|
|
- mContentFrame = (FrameLayout) findViewById(R.id.contentFrame);
|
|
52
|
+ mContentFrame = (CoordinatorLayout) findViewById(R.id.contentFrame);
|
54
|
53
|
|
55
|
54
|
final ArrayList<Screen> screens = (ArrayList<Screen>) getIntent().getSerializableExtra(EXTRA_SCREENS);
|
56
|
55
|
final Drawer drawer = (Drawer) getIntent().getSerializableExtra(DRAWER_PARAMS);
|