Rich
Rich

Reputation: 4248

Change the App Tile Background Color Programmatically

I'm developing an application. I want my deployed/installed application's tile synchronized to the User's background color. There are some answers(here, here) to this question saying that I can't achieve this. But how the other apps can achieve this? Like these apps.

enter image description here

I'm trying to leave a blank to the background color field on VS, however I get an error when I do.

enter image description here

Any thoughts and comments are welcome. Thank you.

Upvotes: 3

Views: 604

Answers (2)

Rich
Rich

Reputation: 4248

The answer of Andrew Bares solves this issue. This answer is for Ionic Framework Cordova project. Just add this line to config.xml under the plaform block of windows.

<preference name="BackgroundColor" value="transparent" />

Upvotes: 1

Andrew Leader
Andrew Leader

Reputation: 985

Set your tile background color to transparent. Then it'll automatically use the accent color the user has selected in Windows.

enter image description here

Upvotes: 4

Related Questions