react-native-make
react-native-make copied to clipboard
fix: Repair Android styles.xml Code indentation causes repeated additions styles code
If the user code is formatted and the indentation is different, the style code will be added multiple times.
After formatting the code styles.xml file
<resources>
<style name="SplashScreenTheme" parent="SplashScreen_SplashTheme">
<item name="colorPrimaryDark">@color/splashprimary</item>
</style>
<!-- Base application theme. -->
<style name="AppTheme" parent="Theme.AppCompat.Light.NoActionBar">
<!-- Customize your theme here. -->
<item name="android:textColor">#000000</item>
<item name="android:windowTranslucentStatus">true</item>
</style>
</resources>
You can reproduce it by using react-native-make again. Enjoy your work and look forward to your reply.