[Interest] How are High DPI Icons supposed to work?

Julius Bullinger Julius.Bullinger at asctec.de
Tue Sep 29 08:27:03 CEST 2015

On 29/09/15 08:12, Hamish Moffatt wrote:
>>> Your code looks ok. You didn't say what the problem was?
>> You're right, I'm sorry for that. As you can see in the attached screenshot, the @2x icon is not actually used in a high DPI/DPR application:
> I'm still a bit confused, as it looks like the @2x images were used in that screenshot. What should be different?

They are only used where I explicitly requested the @2x icon. Maybe I misunderstand the whole thing,  but I was under the impression that the icon at 2x.png file should be used transparently if icon.png is requested in a High DPI case.

So, I expected _both_ lower buttons to use the same icon at 2x.png, even though it's only explicitly set in one of those.

Otherwise, what would be the advantage of using @2x icons if I had to manually distinguish between high and low DPR anyway?

Best regards,

More information about the Interest mailing list