12-01-2015, 01:56 AM | #1 |
Member
Posts: 20
Karma: 10
Join Date: Jan 2012
Location: Germany
Device: Energy Sistem eReader Pro (Boyue T62)
|
Suggestions for the Widget
Currently I'm using the "CC Book Grid 3x1" with 4 covers. I have a Energy Sistem Pro+ Reader with Nova Launcher. Works very well
I have resized the widget and set padding to off in Nova Laucher, so that the widget covers the entire width of the screen. However, the covers do not scale very well, as you can see on the image. They should fill the maximum space available for the widget, don't you think? And I guess the covers should be centered in their "box" and not "stacked" as on the image. I use a blank wallpaper, but optionally adding a border and an opaque background would be great, too. For those who like it it could be one of the "bookshelf" textures, but I would prefer a single color. Having a second widget with recently added books would be great, too. Same general layout than the other widgets, but instead of read books add the covers of recently added books in descending order. To distinguish the widgets you could add a small title in the upper left or right corner. Like on most stock eBook launchers one could then create two rows of covers with currently read and newly added books. https://www.mobileread.com/forums/att...1&d=1448952057 |
12-01-2015, 04:39 AM | #2 | |||
Grand Sorcerer
Posts: 11,740
Karma: 6997045
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
If you really want the covers to fill all available space then you need to change Settings / Covers and Thumbnails / Cover shape to be "Square box, stretch to fit". This will make CC expand the covers to fit the area available, ignoring the cover aspect ratio. I don't like the result, but others do. Selecting any of the other three options causes CC to use portrait covers. If you change the cover shape option then you must either reboot the device or delete+add the widget. Quote:
Quote:
I am not sure that I can add a title without adding a title bar (again, the limits of widgets), which would be rather ugly. There would also be problems with coloring the area behind the title. This needs thought. Do note that you can see the book list/grid in CC sorted by date added, so it is possible to get what you want if you open CC. |
|||
Advert | |
|
12-01-2015, 08:29 AM | #3 |
Grand Sorcerer
Posts: 11,740
Karma: 6997045
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
After some thought, I will take a look at adding some kind of color picker to the widget configuration dialog. I am not sure it will work, but it is worth a try.
|
12-01-2015, 09:05 AM | #4 | |||
Member
Posts: 20
Karma: 10
Join Date: Jan 2012
Location: Germany
Device: Energy Sistem eReader Pro (Boyue T62)
|
Quote:
I just checked the cover shape "Square box, stretch to fit". The covers now completely fill the width of the screen, but they sure are ugly The setting "Portrait box with aspect ratio" looks way better. However, the widget still puts some millimeters of unused space around all covers. It would be great if you could draw the covers right to the edge of the widget like in square box mode, filling as much as possible of the widget. Quote:
Quote:
I can see your point. It's like a can of worms from a developers perspective |
|||
12-01-2015, 09:07 AM | #5 |
Member
Posts: 20
Karma: 10
Join Date: Jan 2012
Location: Germany
Device: Energy Sistem eReader Pro (Boyue T62)
|
BTW, how did you do the screenshot of your eBook reader? The apps I tried all messed the screenshots up
|
Advert | |
|
12-01-2015, 09:12 AM | #6 |
Grand Sorcerer
Posts: 11,740
Karma: 6997045
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
I used Android Studio, the development environment I use for CC programming. The screenshot was in color, so for consistency I used irfanview to convert it to grey scale.
|
12-01-2015, 12:56 PM | #7 | |
Grand Sorcerer
Posts: 11,740
Karma: 6997045
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
Of course I could change the "max 3 times" size rule, but that would have consequences. One would be that the memory required for a widget would increase dramatically. On some devices this might cause the widgets to stop working. Another consequence is that existing widgets could change appearance, something that people might or might not be happy with. These are both risks I am loath to take. There is a way to get Android to upscale an image to fit the segment in at least one dimension. The problem is that upscaling covers can get ugly quickly, with pixelation and generating color artifacts. The only way to avoid the problem is to make the widget size smaller so that upscaling doesn't occur, and given the granularity of the widget size bars that could produce images that are too small. In summary: changing the scale type at this point raises the "it changed" risk described above. If you want the covers to fill the widget and if a segment is larger than the cover, then the current solution is to make the segments smaller. You can do that by making the widget smaller or by adding books (segments) to the widget. Try adding a 5th cover to the widget. That might fix the problem for you. Last edited by chaley; 12-01-2015 at 01:02 PM. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Where's the widget? | AnitainTN | Calibre Companion | 4 | 09-26-2015 07:45 AM |
Editor widget | jackie_w | Development | 7 | 05-22-2014 12:56 PM |
File selection widget | BartZorn | Sigil | 8 | 01-25-2013 02:41 AM |
Anyone know how to write a widget? | NDRisk | Kobo Tablets | 9 | 11-27-2011 10:20 AM |
iLiad Widget style | tomchek | iRex Developer's Corner | 5 | 08-02-2007 11:16 AM |