View Single Post
Old 04-12-2015, 07:15 AM   #44
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,458
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by jackie_w View Post
It's quite interesting how widgets/shortcuts can look quite different on different devices, or possibly different screen resolutions. For instance the 2 attached images both show shortcuts from 4 reading apps for the same book:

(Left to right) - CC, Mantano, Moon+, Pocketbook.
1st image - Galaxy Note 3 phone, res 1080x1920
2nd image - Galaxy TabPro 8.4 tablet, res 1600x2560

As you can see, on the Note3, the CC shortcut compares favourably with the other 3 shortcuts. However, on the TabPro, the CC cover image is rather small compared to the other 3.
I think I have both an explanation and a fix for this. Very high res "tablet" devices seem to use an icon size one larger than "normal". There is a separate API call to get this "preferred" size vs the "normal" size. The Oracle of Google leads to several StackOverflow conversations about this problem. The generally accepted wisdom is to take the larger of the normal size and the preferred size. The next beta release will do this. We will see if it helps.

FYI: I also yanked out the stuff to draw thumbs into square transparent bitmaps. It isn't needed now that I have implemented the portrait filled mode.
chaley is offline   Reply With Quote