|
@@ -2,6 +2,7 @@ package com.reactnativenavigation.screens;
|
2
|
2
|
|
3
|
3
|
import android.annotation.TargetApi;
|
4
|
4
|
import android.app.Activity;
|
|
5
|
+import android.content.res.Configuration;
|
5
|
6
|
import android.graphics.Color;
|
6
|
7
|
import android.os.Build;
|
7
|
8
|
import android.os.Bundle;
|
|
@@ -68,6 +69,12 @@ public abstract class Screen extends RelativeLayout implements Subscriber {
|
68
|
69
|
sharedElements.addToElement(toView, key);
|
69
|
70
|
}
|
70
|
71
|
|
|
72
|
+ @Override
|
|
73
|
+ protected void onConfigurationChanged(Configuration newConfig) {
|
|
74
|
+ super.onConfigurationChanged(newConfig);
|
|
75
|
+ setStyle();
|
|
76
|
+ }
|
|
77
|
+
|
71
|
78
|
@Override
|
72
|
79
|
public void onEvent(Event event) {
|
73
|
80
|
if (ContextualMenuHiddenEvent.TYPE.equals(event.getType()) && isShown()) {
|