Hello
I have some questions :
Is there a command to change the rectangle's shadow color as for the main color ([c][/c]) ?
Secondly, I'm trying to do a elseif condition but it doesn't work
Code:
$#SUSMS#>0||#SMCALLS#>0||#SUG#>0?click me:$#BLEVN#<15?charge me:#DHH:mm#$$
if unread SMS or missed call or unread email then
wrtite "click me"
else
if battery level < 15 then
write "charge me"
else
display hour
The second "if" is not understand
An idea ? Is it possible to do that ?
gihefca said:
Is there a command to change the rectangle's shadow color as for the main color ([c][/c]) ?
Click to expand...
Click to collapse
Nope. Currently this feature is not implemented but I think the dev has it planned for a future release.
gihefca said:
Secondly, I'm trying to do a elseif condition but it doesn't work
Code:
$#SUSMS#>0||#SMCALLS#>0||#SUG#>0?click me:$#BLEVN#<15?charge me:#DHH:mm#$$
The second "if" is not understand
An idea ? Is it possible to do that ?
Click to expand...
Click to collapse
That won't work. You can not stack conditionals in Zooper. What you could to is rewrite it so you have two conditionals with non-overlapping conditions. I didn't test this in Zooper but it should give you the right idea how do it
Code:
$[#SUSMS#>0||#SMCALLS#>0||#SUG#>0]?click me$$[#SUSMS#=0 && #SMCALLS#=0 && #SUG#=0] && [#BLEVN#<15]?charge me:#DHH:mm#$
kwerdenker said:
Nope. Currently this feature is not implemented but I think the dev has it planned for a future release.
That won't work. You can not stack conditionals in Zooper. What you could to is rewrite it so you have two conditionals with non-overlapping conditions. I didn't test this in Zooper but it should give you the right idea how do it
Code:
$[#SUSMS#>0||#SMCALLS#>0||#SUG#>0]?click me$$[#SUSMS#=0 && #SMCALLS#=0 && #SUG#=0] && [#BLEVN#<15]?charge me:#DHH:mm#$
Click to expand...
Click to collapse
Thanks for showing me the way
Here is the code :
Code:
$#SUSMS#>0||#SMCALLS#>0||#SUG#>0?click me$$#SUSMS#=0&&#SMCALLS#=0&&#SUG#=0&&#BLEVN#<15?charge me$$#SUSMS#=0&&#SMCALLS#=0&&#SUG#=0&&#BLEVN#>15?#DHH\:mm#$
And for color :
Code:
$#BLEVN#<15?[c]ff0000[/c]$$#BLEVN#>15&&#BLEVN#<30?[c]ff7f00[/c]$$#BLEVN#>30&&#BLEVN#<50?[c]ffff00[/c]$$[#SUSMS#>0||#SMCALLS#>0||#SUG#>0]&&#BLEVN#>50?[c]00ff00[/c]$$#SUSMS#=0&&#SMCALLS#=0&&#SUG#=0&&#BLEVN#>50?[c]ffffff[/c]$
For shadow color parameter, it seems it doesn't exist
Related
I thought it would be interesting to see what people have done with their devices, now that we can do at least a little bit of customization within WP7. I've seen some pretty smooth looking phones in YouTube videos and around the internet. I'm sure no two customized phones are the same.
Whether it be registry changes, accent customization, theme changes, or whatever, let's see what you've done!
I have mine below, I switch between the grayer shade of blue and the darker red. I can't decide which I like more.
Here you go;
^^^Where did u get the battery percent app from?^^^
dapoharoun said:
^^^Where did u get the battery percent app from?^^^
Click to expand...
Click to collapse
http://forum.xda-developers.com/showpost.php?p=13695919&postcount=1
Here some shots from my device:
Here is my trophy ...this week is orange
rmcgraw said:
I thought it would be interesting to see what people have done with their devices, now that we can do at least a little bit of customization within WP7. I've seen some pretty smooth looking phones in YouTube videos and around the internet. I'm sure no two customized phones are the same.
Whether it be registry changes, accent customization, theme changes, or whatever, let's see what you've done!
I have mine below, I switch between the grayer shade of blue and the darker red. I can't decide which I like more.
Click to expand...
Click to collapse
i like a lot your background. Good job
pth6 said:
i like a lot your background. Good job
Click to expand...
Click to collapse
Thanks, I just changed it up today. Not too sure if I like it or not.
Oh my! I need a whole day to read up. I've been missing a lot. How do you guys change your background colour. I have custom tile colours and i thought that was cool but you guys are changing tiles and backgrounds and everything.
If any one is wondering how to Adding Categorizes to WP7 Home Screen
any idea on how to change the background ?
Update
How to Change the background color on Windows Phone
rmcgraw said:
Thanks, I just changed it up today. Not too sure if I like it or not.
Click to expand...
Click to collapse
is there a way to add colors to the background where "dark" and "light" are just like one the other color accents we can do right now? instead of going in and changing the default ones alone?
would like to know, thanks
Changing the background color is easy. You just need a registry editor such as this and edit the registry key:
[HKLM\ControlPanel\themes\*\pageBackGroundColor]
* - 1 is dark theme, 0 is light theme
Enter a hex number after #FF, such as #FF40546e for a steel blue.
You may also want to edit these keys:
[HKLM\ControlPanel\themes\*\Basethemecolor]
[HKLM\ControlPanel\themes\*\TextHighContrast]
[HKLM\ControlPanel\themes\*\TextBackGround]
[HKLM\ControlPanel\themes\*\pageBackGroundColor]
[HKLM\ControlPanel\themes\*\SysTrayBackGroundColor]
[HKLM\ControlPanel\themes\*\TextNeutralColor]
[HKLM\ControlPanel\themes\*\ContrastColor]
Playing around with these should teach you what each changes. To see your changes, switch themes from dark to light and then back or vice versa.
For more information, see: http://forum.xda-developers.com/showthread.php?t=929017
Wow nice phones!
Sent from my Mozart using XDA Windows Phone 7 App
rmcgraw said:
Changing the background color is easy. You just need a registry editor such as this and edit the registry key:
[HKLM\ControlPanel\themes\*\pageBackGroundColor]
* - 1 is dark theme, 0 is light theme
Enter a hex number after #FF, such as #FF40546e for a steel blue.
You may also want to edit these keys:
[HKLM\ControlPanel\themes\*\Basethemecolor]
[HKLM\ControlPanel\themes\*\TextHighContrast]
[HKLM\ControlPanel\themes\*\TextBackGround]
[HKLM\ControlPanel\themes\*\pageBackGroundColor]
[HKLM\ControlPanel\themes\*\SysTrayBackGroundColor]
[HKLM\ControlPanel\themes\*\TextNeutralColor]
[HKLM\ControlPanel\themes\*\ContrastColor]
Playing around with these should teach you what each changes. To see your changes, switch themes from dark to light and then back or vice versa.
For more information, see: http://forum.xda-developers.com/showthread.php?t=929017
Click to expand...
Click to collapse
yeah thanks that is really helpfull but is there a way to add an extra menu color like when it says "light" and "dark" lets say create a string in the registry to add another drop down menu inside the theme to get one that one makes like lets say "orange" or whatever and change back to those other "light" and "dark" themes without editing them?
just add another one without touching the old ones?
i will try this though, just wanted to know if this was possible before i moved anything
tombrighteyes said:
yeah thanks that is really helpfull but is there a way to add an extra menu color like when it says "light" and "dark" lets say create a string in the registry to add another drop down menu inside the theme to get one that one makes like lets say "orange" or whatever and change back to those other "light" and "dark" themes without editing them?
just add another one without touching the old ones?
i will try this though, just wanted to know if this was possible before i moved anything
Click to expand...
Click to collapse
No you can not add new theme ....Just be aware that messing with registry in that level is danger ..Make a backup first
rmcgraw said:
Changing the background color is easy. You just need a registry editor such as this and edit the registry key:
[HKLM\ControlPanel\themes\*\pageBackGroundColor]
* - 1 is dark theme, 0 is light theme
Enter a hex number after #FF, such as #FF40546e for a steel blue.
You may also want to edit these keys:
[HKLM\ControlPanel\themes\*\Basethemecolor]
[HKLM\ControlPanel\themes\*\TextHighContrast]
[HKLM\ControlPanel\themes\*\TextBackGround]
[HKLM\ControlPanel\themes\*\pageBackGroundColor]
[HKLM\ControlPanel\themes\*\SysTrayBackGroundColor]
[HKLM\ControlPanel\themes\*\TextNeutralColor]
[HKLM\ControlPanel\themes\*\ContrastColor]
Playing around with these should teach you what each changes. To see your changes, switch themes from dark to light and then back or vice versa.
For more information, see: http://forum.xda-developers.com/showthread.php?t=929017
Click to expand...
Click to collapse
mmmm, I remember when windows folk made fun of linux folk for recompiling kernels...
Here's Mine
Lets see if anybody spots what I changed in me2(Menu2)
FPM
FlowerPotmen said:
Lets see if anybody spots what I changed in me2(Menu2)
FPM
Click to expand...
Click to collapse
How did you change the page switcher to the Windows logo? Also nice icon switch. EDIT: Is that a different battery icon as well?
BTW, my phone was featured on 1800pocketpc along with part of my tutorial on how to change your phones background color: http://www.1800pocketpc.com/2011/06...-background-theme-color-on-windows-phone.html
Just thought it was pretty cool
rmcgraw said:
How did you change the page switcher to the Windows logo? Also nice icon switch. EDIT: Is that a different battery icon as well?
BTW, my phone was featured on 1800pocketpc along with part of my tutorial on how to change your phones background color: http://www.1800pocketpc.com/2011/06...-background-theme-color-on-windows-phone.html
Just thought it was pretty cool
Click to expand...
Click to collapse
The page switcher and batt icon are standard in the Xboxmod Ver 1.11 rom
All icons have the glass effect fron here:http://forum.xda-developers.com/showthread.php?t=1055567
But in menu2 I have shortened the names down. (Media Volume Settings=Media Vol Settings) And both the messengers were from aterix and whats her name. I changed these to Hotmail and Yahoo.
FPM
Cant wait to get my hands on my own Windows Phone 7 ;-)
I want to use the numerical values of #BLEV# (battery level) and #WCHUM# (weather, current humidity) in calculations. In the first case to change the dimension of a rectangle, in the second case to calculate the rotation of a pointer in an analog gauge.
Both values are supplied by ZW as percentiles, complete with the "%" character which renders them unusable in a calculation. I have tried using $(#BLEV#)$ and $(#WCHUM#)$ - which works to remove the units in #WCTEMP# and #WCPRESS# - but it won't work in these two cases.
Is there a solution?
TIA
Terry
gritpipethin said:
I want to use the numerical values of #BLEV# (battery level) and #WCHUM# (weather, current humidity) in calculations. In the first case to change the dimension of a rectangle, in the second case to calculate the rotation of a pointer in an analog gauge.
Both values are supplied by ZW as percentiles, complete with the "%" character which renders them unusable in a calculation. I have tried using $(#BLEV#)$ and $(#WCHUM#)$ - which works to remove the units in #WCTEMP# and #WCPRESS# - but it won't work in these two cases.
Is there a solution?
TIA
Terry
Click to expand...
Click to collapse
Try using #BLEVN# and #WCHUMN#. I know the batt Lev one works, so I'm assuming that just adding 'N' at the end of a variable will output the numerical value only.
Hope this helps.
Cheers.
Majik Mushroomz said:
Try using #BLEVN# and #WCHUMN#. I know the batt Lev one works, so I'm assuming that just adding 'N' at the end of a variable will output the numerical value only.
Hope this helps.
Cheers.
Click to expand...
Click to collapse
#BLEVN# works beautifully (and I should have found that myself), but #WCHUMN# is not, as they say, a happening thing.
Thanks.
Can someone tell me how to make a rectangle indicator that shows the state of certain things.
For example, Red = off, Green = On
I want this for:
Wi-fi
Bluetooth
Cell Data
NFC
Charging
I think its possible but could not find a post that gives an example of the text/parameters.
Thanks in advance!
sleepingsword said:
Can someone tell me how to make a rectangle indicator that shows the state of certain things.
For example, Red = off, Green = On
I want this for:
Wi-fi
Bluetooth
Cell Data
NFC
Charging
I think its possible but could not find a post that gives an example of the text/parameters.
Thanks in advance!
Click to expand...
Click to collapse
Only wifi, cell data and charging are possible without external tools. For the other ones you would need Tasker to send the values because Zooper has no internal variables for their states.
The general solution for this type of indicator would be to add a Rect module and then set an Advanced Parameter on it that changes the color depending on the state of whatever setting you want to have indicate by it. For the build-in variables you should check this page for their possible states and the associated meaning. As an example, here is the Advanced Parameter for a Rect module to indicate the state of wifi:
Code:
[c]$#NWSTATE#>=1?ff00ff00:ffff0000$[/c]
To understand the structure of these conditionals, please see this page.
Perfect, just what I needed. Thanks kwerdenker.
sleepingsword said:
Perfect, just what I needed. Thanks kwerdenker.
Click to expand...
Click to collapse
Sure, no problem
Happens to me as well and now I'm looking for the solution in a custom rom
hello, i've made my first widget that shows battery level with a progress bar (ram level and cpu frequency with other bars).
Now I want that the color of bar change when value is under a certain number (for example: normally is green, below 60 is yellow, below 40 is orange and below 20 is red).
I've wrote this and working: $#BLEVN#<60?[cf]#fffce109[/cf]
the logic of this is (pseudocode): if(battery.value < 60) { bar.color=yellow}
the logic that i want realize is three "if" concatenate or a "switch" (i refear to programming language).
I've tried to concatenate three of this expression but not working.
Anyone know if it can do?
thanks
newuser22 said:
hello, i've made my first widget that shows battery level with a progress bar (ram level and cpu frequency with other bars).
Now I want that the color of bar change when value is under a certain number (for example: normally is green, below 60 is yellow, below 40 is orange and below 20 is red).
I've wrote this and working: $#BLEVN#<60?[cf]#fffce109[/cf]
the logic of this is (pseudocode): if(battery.value < 60) { bar.color=yellow}
the logic that i want realize is three "if" concatenate or a "switch" (i refear to programming language).
I've tried to concatenate three of this expression but not working.
Anyone know if it can do?
thanks
Click to expand...
Click to collapse
Use && (and) to link conditions. Since you have 3 different colors you will need 3 separate conditional statements making sure only 1 statement is true at any time. so it would look something like this:
$#BLEVN#<60&&#BLEVN#>39?yellow$$#BLEVN#<40&&#BLEVN#>19?orange$$#BLEVN#<20?red$
jr67 said:
Use && (and) to link conditions. Since you have 3 different colors you will need 3 separate conditional statements making sure only 1 statement is true at any time. so it would look something like this:
$#BLEVN#<60&&#BLEVN#>39?yellow$$#BLEVN#<40&&#BLEVN#>19?orange$$#BLEVN#<20?red$
Click to expand...
Click to collapse
thanks it working , my error was exactly that with certain values more than one condition was true.
I just came across this app that is 100% free: https://play.google.com/store/apps/details?id=eu.chainfire.holeylight
My Pixel 6 Pro settings are attached below. Enjoy!
If I'm not mistaken that's made by chainfire the same dude who makes liveboot to watch logcat while booting as a cook techy codey boot animation
spart0n said:
If I'm not mistaken that's made by chainfire the same dude who makes liveboot to watch logcat while booting as a cook techy codey boot animation
Click to expand...
Click to collapse
If I am not mistaken he was also the main root guy/superSU before magisk became the default root app.
mkhcb said:
If I am not mistaken he was also the main root guy/superSU before magisk became the default root app.
Click to expand...
Click to collapse
Yes he was.
truckerdewd said:
Yes he was.
Click to expand...
Click to collapse
Now he made a better version of AODNotify that is 100% free!
Bummer that it can't be used as a charging indicator
mkhcb said:
If I am not mistaken he was also the main root guy/superSU before magisk became the default root app.
Click to expand...
Click to collapse
He was also hacking the Palm Treo 650 back in the day.
Chainfire is such an awesome dev. Releasing this open source just shows how dedicated he has been to the community for over 10 years.
mkhcb said:
I just came across this app that is 100% free: https://play.google.com/store/apps/details?id=eu.chainfire.holeylight
My Pixel 6 Pro settings are attached below. Enjoy!
Click to expand...
Click to collapse
Nice find. Note that in play store, he links to github.... ***THIS IS OPEN SOURCE!!!!!***
Looks to be another great app by chainfire!
I had a play and it seems awesome, but the "Hide AOD" setting doesn't seem to work on Pixels, yet. Having a read through the "Holey Light AOD Helper" GitHub, it seems chainfire is having an issue finding a workaround - if he does find a way to hide it completely & just show the notification "LED", I'll definitely find myself using this.
DanielF50 said:
Looks to be another great app by chainfire!
I had a play and it seems awesome, but the "Hide AOD" setting doesn't seem to work on Pixels, yet. Having a read through the "Holey Light AOD Helper" GitHub, it seems chainfire is having an issue finding a workaround - if he does find a way to hide it completely & just show the notification "LED", I'll definitely find myself using this.
Click to expand...
Click to collapse
It works fine for me, but I'm running GrapheneOS, so I suppose there could be some difference. What you're looking at with the "Helper" isn't the inability to OBSCURE the AOD, its the ability to **ENTIRELY DISABLE IT** when there is nothing to show on the screen.
A tip for obscuring the AOD is that you need to actually enable the screen off modes.
I've been playing with this for a little bit now. Its not bad.
One of the things to keep in mind is that some of the modes force you to keep the CPU online, rather than allowing deep sleep and lowest power consumption. In particular, the "unholy light" mode is actually the lowest power consumption, so it should be used for the on battery with screen off mode.
HOWEVER, that mode is a little bit more obtrusive than I'd like, so the following patch can tone it down a bit;
diff --git a/app/src/main/java/eu/chainfire/holeylight/animation/SpritePlayer.java b/app/src/main/java/eu/chainfire/holeylight/animation/SpritePlayer.java
index 9645a4c..85f27e2 100644
--- a/app/src/main/java/eu/chainfire/holeylight/animation/SpritePlayer.java
+++ b/app/src/main/java/eu/chainfire/holeylight/animation/SpritePlayer.java
@@ -266,15 +266,19 @@ public class SpritePlayer extends RelativeLayout {
paintTsp.setColorFilter(null);
paintTsp.setXfermode(null);
- float left = radiusDecrease;
- float top = radiusDecrease;
- float width = this.width - (radiusDecrease * 2f);
- float height = this.height - (radiusDecrease * 2f);
+ radiusDecrease /= 4;
+
+ float width = this.width/4 - (radiusDecrease * 2f);
+ float height = this.height/4 - (radiusDecrease * 2f);
+
+ float left = this.width/2f + radiusDecrease - width/2;
+ float top = this.height/2f + radiusDecrease - height/2;
+
float right = left + width;
float bottom = top + height;
float cx = left + (width / 2f);
float cy = top + (height / 2f);
- float radius = (width / 2f) - (8f * dpToPx);
+ float radius = (width / 2f) - (2f * dpToPx);
float anglePerColor = 360f / colors.length;
@@ -325,8 +329,8 @@ public class SpritePlayer extends RelativeLayout {
y += Math.sin(Math.toRadians(startAngle + 270 + (anglePerColor * i))) * radius/2;
}
- float w = 24 * dpToPx;
- float h = 24 * dpToPx;
+ float w = 12 * dpToPx - radiusDecrease;
+ float h = 12 * dpToPx - radiusDecrease;
if (drawableIcons == 1) {
w *= 2f;
h *= 2f;
96carboard said:
It works fine for me, but I'm running GrapheneOS, so I suppose there could be some difference. What you're looking at with the "Helper" isn't the inability to OBSCURE the AOD, its the ability to **ENTIRELY DISABLE IT** when there is nothing to show on the screen.
A tip for obscuring the AOD is that you need to actually enable the screen off modes.
Click to expand...
Click to collapse
Interesting as it definitely doesn't work my end (Stock March build), even after a reboot (screen off settings are enabled).
I understand the difference between obscuring and disabling in this case but from what I read neither have a working solution, yet? Ideally, we want to leave the system setting on but allow the user to hide AOD from being displayed when the phone is locked & also hide it, bar the camera cutout, when a notification comes through while the screen is off. From what I've read on the comments in the code of "AODReceiver.java", Chainfire has tried multiple different things to achieve this, one being disabling AOD completely (as you say), but also lists a few things that they could possibly do to achieve this without toggling AOD off (eg. the mention of a "full black overlay").
I'd be curious to see if this works to hide AOD for anyone else on the stock ROM, or if it's only custom AOSP builds. I don't currently have any Magisk modules etc that do anything UI related, so shouldn't be an issue with my particular set-up.
DanielF50 said:
Interesting as it definitely doesn't work my end (Stock March build), even after a reboot (screen off settings are enabled).
I understand the difference between obscuring and disabling in this case but from what I read neither have a working solution, yet? Ideally, we want to leave the system setting on but allow the user to hide AOD from being displayed when the phone is locked & also hide it, bar the camera cutout, when a notification comes through while the screen is off. From what I've read on the comments in the code of "AODReceiver.java", Chainfire has tried multiple different things to achieve this, one being disabling AOD completely (as you say), but also lists a few things that they could possibly do to achieve this without toggling AOD off (eg. the mention of a "full black overlay").
I'd be curious to see if this works to hide AOD for anyone else on the stock ROM, or if it's only custom AOSP builds. I don't currently have any Magisk modules etc that do anything UI related, so shouldn't be an issue with my particular set-up.
Click to expand...
Click to collapse
Are you sure that you followed all the setup stages, like enabling it in accessibility settings?
mkhcb said:
Now he made a better version of AODNotify that is 100% free!
Click to expand...
Click to collapse
The interesting thing is that holey light (April 2, 2019) actually PREDATES aodnotify (May 25, 2019).
96carboard said:
Are you sure that you followed all the setup stages, like enabling it in accessibility settings?
Click to expand...
Click to collapse
Indeed, I did. I'll uninstall and give it another try some when soon.
96carboard said:
The interesting thing is that holey light (April 2, 2019) actually PREDATES aodnotify (May 25, 2019).
Click to expand...
Click to collapse
And is open source....
mkhcb said:
And is open source....
Click to expand...
Click to collapse
I was addressing the phrasing used. Suggestive that it was something newer to replace it.
I'm not sure if and when Chainfire's app was updated but aodNotify was updated in January of this year. I paid for the pro version, not because I was really going to use any of the available options but, because for the few bucks it cost supporting the dev was worth it to me. It really doesn't use any battery and works as described. No reason for me to look for a free version at this time. But thanks for the info to the OP.
MOD ACTION:
Thread cleaned.
Guys, please stick to the topic and take arguments elsewhere especially when the language starts to deteriorate.
Thank you.