Skip to content
This repository was archived by the owner on Oct 7, 2021. It is now read-only.

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

Open
PBK-B wants to merge 1 commit intobamlab:masterfrom
PBK-B:master
Open

fix: Repair Android styles.xml Code indentation causes repeated additions styles code#68
PBK-B wants to merge 1 commit intobamlab:masterfrom
PBK-B:master

Conversation

@PBK-B
Copy link

@PBK-B PBK-B commented Jul 1, 2021

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant