Windows Phone 应用程序栏的图标颜色 [英] Windows Phone Application Bar's Icons colors

查看:28
本文介绍了Windows Phone 应用程序栏的图标颜色的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

appbar 的图标颜色究竟是什么时候改变的(即从白变黑,或者从黑变白)?当主题从黑色切换到白色时,或者当应用程序栏的背景画笔发生变化时?如果我想应用我自己的自定义主题,让应用程序栏一直是白色的怎么办?我使用黑色图标,但它们会在深色主题中变成白色,即使应用栏是白色的(因为它是自定义更改的)?

When does exactly the color of appbar's icon changes (that is, from white to black, or drom black to white)? When the theme is switched from black to white, or when the background brush of Application Bar is changed? What I if I want to apply my own custom theme, so that the application bar is always white? I use black icons, but will they turn to white in Dark theme, even thouh the app bar is white (as it was customly changed)?

推荐答案

ApplicationBar 中使用的所有图标应为 48x48 PNG 文件,白色透明背景.

All the icons used in the ApplicationBar should be 48x48 PNG files, white with transparent background.

如果用户使用浅色主题,Windows Phone 将负责更改图标的颜色(因此图标会变成黑色)

Windows Phone will take care of changing the color of the icon if the the user is using a light theme (so the icon will turn to black)

您可以在此处阅读图标规则,以及此处关于如何创建新的!

You can read here the rules for the icons, and here on how to create a new one!

这篇关于Windows Phone 应用程序栏的图标颜色的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆