-
Notifications
You must be signed in to change notification settings - Fork 86
「增强个性化」之主题色
By_syk edited this page May 30, 2017
·
1 revision
NanoIconPack 默认设定的主题色是蓝灰色+红色,您可以根据自己的喜好选择其他的主题色。
修改colors.xml
:
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="color_primary">#607d8b</color>
<color name="color_primary_dark">#455a64</color>
<color name="color_accent">#ff5252</color>
</resources>
同时,根据需要在AndroidManifest.xml
中调整整体亮色/暗色:
<!-- Available themes: AppThemeDark, AppThemeLight, AppThemeLightWithDark -->
<application android:theme="@style/AppThemeLightWithDark">
...
</application>
主题色的选取可以参考我开发的一款配色APP——MD配色参考: