react-native-make icon indicating copy to clipboard operation
react-native-make copied to clipboard

fix: Repair Android styles.xml Code indentation causes repeated additions styles code

Open PBK-B opened this issue 3 years ago • 0 comments

If the user code is formatted and the indentation is different, the style code will be added multiple times.

截屏2021-07-01 下午7 25 13

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.

PBK-B avatar Jul 01 '21 11:07 PBK-B