FORUMS

Is the LG G4’s Camera Really DSLR-worthy?

After months of anticipation, the LG G4 was finally unveiled today, showing off an … more

SuperSU Beta Updates With Minor Fix For Galaxy S6

ChainFire’s root permissions app SuperSU has updated to v.2.49 to fix audits on … more

LG G4 Day Event Coverage: Specs, Features, Design & More!

LG has been teasing us with a countdown for a while now, and today it reached … more

Xposed Modules to Modify Email – XDA Xposed Tuesday

Even though we have Dropbox and other ways to share files, people still want … more
Post Reply Subscribe to Thread Email Thread

[Q] Hide/Show Zooper notification widget

28th April 2014, 06:13 AM |#1  
OP Junior Member
Thanks Meter: 0
 
More
How do I make it so my Zooper Widget hides when I have zero missed calls and shows only when it has one or more missed calls?

Did a bit of browsing and found I would need Tasker for this, and that's where I stopped since its a lot to take in.
--------
Edit - After more browsing it seems I didn't actually need tasker. So instead Ill ask for help on how to hide an entire widget only when I have 1+ missed calls and hide when I have none. Didn't know about the advanced parameter section.
----------
Edit - At the moment I'm using a " $#SUSMS#<1?[oy]999[/oy]$ " to "hide" at the moment. Is there a better way to hide widgets than this? I need to still.be able to widget click them when hidden.
Last edited by Shintroy; 28th April 2014 at 09:38 AM.
 
 
28th April 2014, 10:04 AM |#2  
kwerdenker's Avatar
Recognized Themer
Flag Probably the Zooper Forums
Thanks Meter: 2,518
 
Donate to Me
More
Quote:
Originally Posted by Shintroy

How do I make it so my Zooper Widget hides when I have zero missed calls and shows only when it has one or more missed calls?

Did a bit of browsing and found I would need Tasker for this, and that's where I stopped since its a lot to take in.
--------
Edit - After more browsing it seems I didn't actually need tasker. So instead Ill ask for help on how to hide an entire widget only when I have 1+ missed calls and hide when I have none. Didn't know about the advanced parameter section.
----------
Edit - At the moment I'm using a " $#SUSMS#<1?[oy]999[/oy]$ " to "hide" at the moment. Is there a better way to hide widgets than this? I need to still.be able to widget click them when hidden.

Is the module you are using to display the notification a Text/Rich text module or a bitmap module?
28th April 2014, 04:57 PM |#3  
OP Junior Member
Thanks Meter: 0
 
More
Quote:
Originally Posted by kwerdenker

Is the module you are using to display the notification a Text/Rich text module or a bitmap module?

Text. I have one for calls.and sms notifications. Here's an attachment to show what I have so far. The call widget is adjacent to the sms one and hidden correctly. I'm asking if there's a better way to hide the widgets. Maybe change the opacity instead of the x, y positions?
Attached Thumbnails
Click image for larger version

Name:	tmp_2014-04-28_02-16-30934726327.png
Views:	326
Size:	74.7 KB
ID:	2713904  
28th April 2014, 05:11 PM |#4  
Junior Member
Thanks Meter: 50
 
More
Quote:
Originally Posted by Shintroy

Text. I have one for calls.and sms notifications. Here's an attachment to show what I have so far. The call widget is adjacent to the sms one and hidden correctly. I'm asking if there's a better way to hide the widgets. Maybe change the opacity instead of the x, y positions?

Yes, use Advanced Parameters for color with Text, and write 00ffffff for example ( 00 is alpha level ).

Inviato dal mio GT-N7000 con Tapatalk 2
28th April 2014, 05:17 PM |#5  
kwerdenker's Avatar
Recognized Themer
Flag Probably the Zooper Forums
Thanks Meter: 2,518
 
Donate to Me
More
Quote:
Originally Posted by Shintroy

Text. I have one for calls.and sms notifications. Here's an attachment to show what I have so far. The call widget is adjacent to the sms one and hidden correctly. I'm asking if there's a better way to hide the widgets. Maybe change the opacity instead of the x, y positions?

Yes, controlling the opacity is the other possibility. For (Rich) Text and Rect modules you can control the color via the [c][/c] tags in advanced parameters. The color is defined via a 8 character string where the first two control the opacity of the color. So the modified version of the conditional you posted could look like this:
$#SUSMS#<1?[c]00ffffff[/c]$
28th October 2014, 04:30 AM |#6  
mistere372002's Avatar
Senior Member
Flag Tucson
Thanks Meter: 67
 
More
Hmmm, It didn't work. Is there a issue with this? I have put it in advanced parameters and in the text area.
$#SUSMS#<1?[c]00ffffff[/c]$ <-- This shows this ---> [c]00ffffff[/c] in the preview window below. And the with nothing in the widget.
28th October 2014, 09:40 AM |#7  
kwerdenker's Avatar
Recognized Themer
Flag Probably the Zooper Forums
Thanks Meter: 2,518
 
Donate to Me
More
Quote:
Originally Posted by mistere372002

Hmmm, It didn't work. Is there a issue with this? I have put it in advanced parameters and in the text area.
$#SUSMS#<1?[c]00ffffff[/c]$ <-- This shows this ---> [c]00ffffff[/c] in the preview window below. And the with nothing in the widget.

This conditional only controls the color of the module and should be put in the Advanced Parameter option. You then have to put the actual content of the module (i.e. #SUSMS#) into the Text option so there is anything on which the opacity can be controlled.
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes