|
@@ -8,7 +8,7 @@ import android.view.KeyEvent;
|
8
|
8
|
|
9
|
9
|
import com.facebook.react.modules.core.DefaultHardwareBackBtnHandler;
|
10
|
10
|
import com.reactnativenavigation.NavigationApplication;
|
11
|
|
-import com.reactnativenavigation.layouts.ScreenLayout;
|
|
11
|
+import com.reactnativenavigation.layouts.SingleScreenLayout;
|
12
|
12
|
import com.reactnativenavigation.params.ActivityParams;
|
13
|
13
|
import com.reactnativenavigation.params.parsers.ActivityParamsParser;
|
14
|
14
|
import com.reactnativenavigation.react.JsDevReloadHandler;
|
|
@@ -42,8 +42,9 @@ public class NavigationActivity extends AppCompatActivity implements DefaultHard
|
42
|
42
|
}
|
43
|
43
|
|
44
|
44
|
private void createLayout() {
|
45
|
|
- ScreenLayout screenLayout = new ScreenLayout(this, activityParams.screenParams);
|
46
|
|
- setContentView(screenLayout);
|
|
45
|
+ SingleScreenLayout singleScreenLayout = new SingleScreenLayout(this, activityParams.screenParams);
|
|
46
|
+ singleScreenLayout.createLayout();
|
|
47
|
+ setContentView(singleScreenLayout);
|
47
|
48
|
}
|
48
|
49
|
|
49
|
50
|
@Override
|