scorzy / CLW

Android Widget similar to Conky
MIT License
18 stars 4 forks source link

How to reduce ugly shadow feathering behind text ... #3

Open aiamuzz opened 5 years ago

aiamuzz commented 5 years ago

@scorzy ... Fantastic work !!!

I am a very long time user of conky on linux

I just don't have words to express my excitement running your app on my Nexus 9 ...

I like the idea of edit'ability just like how we have it in conky ... I like the fact that i could play around the layout spacing and aspects that are identical to conky ... I just love it !!!

Here is my QuickInfo file if anybody wants to use it

Device_Quick_Info.txt

In an effort to further smooth off the visual appeal of this script ... i would like to know who i can remove or reduce the shadow almost to none from behind the text ... as you can see in the screenshots below the shadow seems too over powering on the legibility of the display !

WhatsApp Image 2019-09-26 at 12 46 44 AM

WhatsApp Image 2019-09-26 at 12 46 44 AM (1)

aiamuzz commented 5 years ago

If you notice the bars in the display do not have shadows as a result they look so elegant ... the shadow behind the text is a big spoiler ... if that can be removed somehow or reduced almost to a zero ... the elegance quotient of your widget will improve by leaps and bounds !

In fact if you look into my custom config file i have removed everything that spells as 'shadow' and yet the shadow remains ... i am guessing the shadow settings are hard coded into it ... would have been nice if we could control the shadow colorand the shadow feathering settings through the config file !!!

aiamuzz commented 5 years ago

If you do consider working on the text's ... shadow color and feathering ... please note that it should be exactly the same as the highlighted part of the below screenshot ...

image

note that the highlighted part is the device desktops natural shadow color and setting ... i am using 'Nova Launcher' as my home launcher ...

if you can look into its shadow handling code for text and icons of this launcher app and replicated it into your widget then you'd have nailedit ... greatly enhancing its visual appeal !!!

aiamuzz commented 5 years ago

while i was hunting for conky alternative on Android ... i cam across this widget app even before your app ...

Conky? for Widget+

i didn't like it because it had static and forced info ... as we all know the whole fun of Conky is that no 2 conky's developed by 2 people could be the same ... conky's configurability gives it its unique flavor and beauty ... and thanks to your efforts i came across your widget app

As you can see in the screenshot below ... that app though not in the spirit of conky seems has implemented the text and the shadow which matches the home launcher or device desktop settings ...

WhatsApp Image 2019-09-26 at 1 39 45 AM (1)

Hope you'll be able to implement the exact same settings on your widget too ...

scorzy commented 5 years ago

hi, your problem is probably the text outline, change "fontOutSize 4" to "fontOutSize 0" result: Screenshot_20190925-223945

also there are some shadow options here: https://github.com/scorzy/CLW/wiki/Text

aiamuzz commented 5 years ago

@scorzy ... my bad ... i couldn't find the text wiki page as it wasn't bookmarked on the right column ...

thanks ... this is absolutely perfect ...

WhatsApp Image 2019-09-26 at 3 24 18 AM

WhatsApp Image 2019-09-26 at 3 28 47 AM

my CLWConfig file as found in the screenshot above ... if anyone is interested ...

Device_Quick_Info.txt

aiamuzz commented 5 years ago

my whole experience has been no different than that of Conky on Linux ...

you should rename your widget to "AConkyL" ... which stands for ... AndroidConkyLike"

aiamuzz commented 4 years ago

@scorzy ...

I have installed this on my new smartphone ... it was working fine but since yesterday the widget is not getting laid on the desktop ...

the information bubble after selecting a conky file says "using : path/to/file" but the widget is not placed on the desktop ...

any information you require to identify this issue ... let me know and i'll run the diagnostics on the affected phone.

thanks

aiamuzz commented 4 years ago

but since yesterday the widget is not getting laid on the desktop ...

@scorzy ... working fine now ... seems it was some issue of my home launchers permission for widget ...

scorzy commented 4 years ago

fine! are there new permission with need to be requested? i run it on android 7 and i never tried newer versions