[Tip] Adjust the colors of background images

77 views
Skip to first unread message

Dave Smart

unread,
May 26, 2016, 1:33:31 PM5/26/16
to DroidScript
You can change the color of background images like this:-

Turns the green system image resource into dark gray:-

  lay.SetBackground( "/Sys/Img/GreenBack.png" );
  lay.AdjustColor( 0,-100,-60,0 );


Turns it into purple:-

  lay.SetBackground( "/Sys/Img/GreenBack.png" );
  lay.AdjustColor( 180,0,-45,0 );



BareK

unread,
May 26, 2016, 2:37:35 PM5/26/16
to DroidScript
Nice tip :)

It would be great to be able to do the same for list control icons (with each icon having having a different colormask).
But I think it would be (maybe) too much work.

Gerard Hernandez

unread,
May 26, 2016, 4:38:39 PM5/26/16
to DroidScript
Any approach to make blurred apps??

Gerard Hernandez

unread,
May 26, 2016, 4:38:59 PM5/26/16
to DroidScript
Sorry, blurred images!!

Dave Smart

unread,
May 26, 2016, 4:48:02 PM5/26/16
to DroidScript
Find me some sample code and I might have time to chuck it in ;)
Reply all
Reply to author
Forward
0 new messages