简体   繁体   中英

Android color theme windowBackground

I am building an Android application and adding multiple themes to it. I have question I am using https://www.materialpalette.com/ to generate the themes colors. What should I set the windows Background windowBackground colors, should I set it to white for all themes or use the Light Primary Color from each theme colors.

在此处输入图像描述

<resources>

<!-- Base application theme. -->
<style name="AppTheme" parent="android:Theme.Holo.NoActionBar">
    <item name="android:windowBackground">@android:color/black</item>
</style>

</resources>

Setting Android Theme background color

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM