Transparent tile but colored icon for the Windows

2019-05-03 05:55发布

I want to have transparent square tile for my app, but in the Store it should have green background behind same icon. Is there any way to achieve that? In 8.1 we had (still have) 300x300 "App tile icon" which is used for the Store I believe, but now it seems store using image from Package.appxmanifest, and even if I explicitly set non-transparent image for "Store Logo", it doesn't work.

Question is: is that at all possible to have transparent tile for start screen but solid-color background icon in the Store?

2条回答
何必那么认真
2楼-- · 2019-05-03 06:32

When I create an UWP app within Visual Studio, a unique file is made for the windows store logo: StoreLogo.png. Can't you just edit this file to be opaque? enter image description here

查看更多
我命由我不由天
3楼-- · 2019-05-03 06:47

Yes, "App tile icon" is used only on Windows Phone 8.1 or earlier and in practice for UWP apps medium tile is used to represent app in the Store. StoreLogo -- is actually a small icon and is used in relevant scenarios (like ones you already mentioned).

A possible workaround could be the following:

  • use solid-color background icon as default tile so that it will be used in the Store, and
  • update tile with another transparent image once application was launched (just don't set expiration date).

p.s. Some apps also use such approach to provide users choice whether they like to use branded color on tile or to use system accent color instead.

查看更多
登录 后发表回答