I am using zooper and tasker to display unread count on icons.
I am using zooper and tasker to display unread count on icons. Any way to give a tap effect to the widget icons. Like in case of pressing a normal icon the background turns gray when you tap it( not long press). Can I replicate it for the zooper widget icons?
]]>
< ![CDATA[
Did you know you can do that directly in Lightning? (Badges)
]]>
< ![CDATA[
But only for sms and missed calls. Right?
]]>
< ![CDATA[
Ah, yes and gmail too. I take it you require some other unread counts then?
]]>
< ![CDATA[
yes. Any ideas?
]]>
< ![CDATA[
This qustion is probably more suited for the Zooper community IMO. anyways if you want a tap effect just put a lightning action (task shortcut) on top of the zooper widget over the icon.
]]>
< ![CDATA[
lol…simple but nice. Thanks.
Is their script lying here somewhere to change the app opening animation ? Searched a lot. Did not find anything.
]]>
< ![CDATA[
Maybe in the wiki
]]>
< ![CDATA[
There are some, but not in the wiki. TrianguloY made one and me too.
]]>
< ![CDATA[
But I’m unable to find them too…
]]>
< ![CDATA[
Extracted from a backup, here is one:
LL.bindClass(“android.app.ActivityOptions”);
var e=LL.getEvent();
var i=e.getItem();
var c=e.getContainer();
LL.getContext().startActivity(i.getIntent(),ActivityOptions.makeScaleUpAnimation(c.getView(),i.getPositionX()-c.getPositionX(),i.getPositionY()-c.getPositionY(),i.getWidth(),i.getHeight()).toBundle());
]]>
< ![CDATA[
And the one from TrianguloY :
LL.bindClass(“android.R”);
LL.getEvent().getItem().launch();
var d=LL.getEvent().getData();
if(d!=”fade”&&d!=”slide”)d=Math.random()>0.5?”fade”:”slide”;
var animIn;
var animOut;
if(d==”fade”){
animIn=R.anim.fade_in;
animOut=R.anim.fade_out;
}
if(d==”slide”){
animIn=R.anim.slide_in_left;
animOut =R.anim.slide_out_right;
}
LL.getContext().overridePendingTransition(animIn, animOut);
]]>
< ![CDATA[
That last one is the one I use (The slide method) for my most used shortcuts. Works great and looks awesome.
I need to try yours too Lukas, and those should really be in the wiki.
]]>
< ![CDATA[
The first one was the type I was looking for. Thanks a lot.
Right now to get it working I am setting an app shortcut to run the script on tap. How do I do it for all the icons at once ?
EDIT – I set tap on desktop to run the script. Seems to run fine now. Thanks everyone.
]]>