|
@@ -17,6 +17,7 @@ import android.widget.FrameLayout;
|
17
|
17
|
import android.widget.LinearLayout;
|
18
|
18
|
import android.widget.TextView;
|
19
|
19
|
|
|
20
|
+import com.reactnativenavigation.R;
|
20
|
21
|
import com.reactnativenavigation.params.StyleParams;
|
21
|
22
|
import com.reactnativenavigation.utils.ViewUtils;
|
22
|
23
|
|
|
@@ -51,9 +52,9 @@ public class CollapsingTextView extends FrameLayout {
|
51
|
52
|
@SuppressLint("PrivateResource")
|
52
|
53
|
private void createDummyTextView(Context context) {
|
53
|
54
|
final TintTypedArray a = TintTypedArray.obtainStyledAttributes(getContext(), null,
|
54
|
|
- android.support.v7.appcompat.R.styleable.Toolbar, android.support.v7.appcompat.R.attr.toolbarStyle, 0);
|
|
55
|
+ R.styleable.Toolbar, R.attr.toolbarStyle, 0);
|
55
|
56
|
int titleTextAppearance =
|
56
|
|
- a.getResourceId(android.support.v7.appcompat.R.styleable.Toolbar_titleTextAppearance, 0);
|
|
57
|
+ a.getResourceId(R.styleable.Toolbar_titleTextAppearance, 0);
|
57
|
58
|
a.recycle();
|
58
|
59
|
|
59
|
60
|
dummy = new TextView(context);
|