WinPhone 8 AppBar icon size - windows-phone

The guide for Windows Phone 8 app bars states that AppBar button icons should be 48x48px. It also says that a bunch of sample icons can be found in C:\Program Files (x86)\Microsoft SDKs\Windows Phone\v8.0\Icons.
But the images in there are 76x76px. And they work fine, at least on the emulator they do.
So what's the proper size?

So what's the proper size?
76x76, because then you support higher resolutions. If you use 48x48, it'll be scaled up for WXGA and 720p, rather than down (for WVGA), with the quality being slightly worse.
The factor is roughly 1.6, which is the same as for the Tile Sizes
And to prove the point, here's our application, using 76x76 application icons: Skype | Windows Phone Store

They are 48x48px as the people above have said, but the 76x76px ones you are seeing are for devices with a different screen size from that set by Visual Studio as default.
If you are looking for any additional icons do check out Templarian's open-sourced icon project http://modernuiicons.com/. The .zip includes light and dark themes icons as well as the initial Expressions Blend .design file and the .xaml coding of the icon.

They have to be a minimum of 48x48, you can have a bigger (square) size and it will scale down accordingly.

Related

Tree of files with vertical lines in PhpStorm

Ho to make tree of files with vertical lines in PhpStorm for navigation in project?
There is no previous Windows GUI theme since 2018.1. JetBrains have made their own Windows theme that follows modern MS guidelines (e.g. Windows 10 look alike) and dotted tree lines is not there (as well as bigger spacing between elements etc).
I suggest following these tickets (star/vote/comment) to get notified on any progress. As it stands right now some improvements in this area are expected only for 2018.3 version or later.
https://youtrack.jetbrains.com/issue/IDEA-185538
https://youtrack.jetbrains.com/issue/IDEA-165101

How to set the "HD" icon in Programs and Features?

I know you can set "the small icon" with ARPPRODUCTICON, but how do I set the bigger one (in the details panel)?
Right now Windows takes the same icon as ARPPRODUCTICON and re-sizes it, but this looks really bad.
The Wix installer has 2 different icons too, so it must be possible:
http://i.imgur.com/r7DpFN3.png
Edit
With IlirB's answer I created an Icon pack (.icl) and used that in Wix. Now Programs and Features picks the correct sizes automatically. This site suggests the following sizes: 16x16, 24x24, 32x32, 48x48, 256x256 http://www.visualpharm.com/articles/icon_sizes.html
A single .ico file can have multiple sizes/dimensions of an icon.
I use IcoFX Portable (Google for it), create a new .ico add the icon that is large enough (256x256) then I create smaller variants of from it e.g. 256x256 + 128x128 + 48x48 + 32x32 + 24x24 + 16x16.
This way the icon will scale where necessary and look good.

How do I use DarkIcons.dll in a Windows Phone 8 app?

Building my first Windows Phone 8 app and I am bringing in a few icons to use in the appbar. As I am picking the icons in C:\Program Files (x86)\Microsoft SDKs\Windows Phone\v8.0\Icons\Dark I see that there is a file called DarkIcons.dll.
Can I use this dll as a resource file and then bind to icons in it?
If so how does that binding work? What does the binding look like?
For AppBar icons, you should use the white "dark" icons in that folder or from other resources like modernuiicons. Add these to your project as a resource and set the icon to be this image. If your application is used on a device that has a light theme, the phone will turn the icons black for you. No need for you to do anything!
Well. You need not to do anything with .dll file for App Bar icons. You need not to worry about that dll file. Because while you create the new project, all dll files will be initiated. This dll is the primary file. Windows sdk will care about more than you
Simply copy and paste the desired icons from "dark" folder in the solution explorer.
Simply call that image and you can use all icons like this.
If your phone theme was dark, then the colors of icons will be light and vice versa.
Hope this could be useful to you. All the best.

application icon image doesn't show in taskbar in "small icon" setting

I have a vb.net 2008 application which has its corresponding icon.
The icon shows correctly except in the taskbar when the "small icon" setting is on.
My vb.net project includes a .ico file which when I see in the IDE includes 16x16, 32x32, 48x48, 64x64 and 256x256 bitmaps, in 4, 24 and 32 bits, also 3 .png images in 256x256 32 bits each.
I made the icon myself simply using a 64x64 bitmap and then converting it to .ico, and assigning it to the application in the project properties. I thought windows would use and escalate the corresponding image, it shows even in the file explorer properly in the small icon form, but not in the taskbar.
What's going on or what do I need to do? I'm not very familiar with this. Thanks...
You need to have the correct size/bit-depth version in your icon file for whatever context WinForms wanted (e.g. the form's title bar icon, the system tray icon, the taskbar
icon, or the desktop shortcut icon) to insure it will work. You have to maintain the transparency too.
Read the following article.

How to display 8-bit icons in Windows Installer?

I have a number of .ico files in my installer that have various renderings for different palette depths, sizes, etc. These display on the MSI's UI rather than being a part of the installation process.
Unfortunately, each of these icon files are displaying the 4-bit palette depth version, which looks a bit rubbish. Is there a way to get the icons to display at the full 8-bit palette?
8-bit icons are unsupported in Windows Installer. I got around the problem by having the 4-bit icons re-drawn so they looked better in the lower colour palette.
Why not delete the 4 bit version from the icon and keep only the 8 bit one version?