FORUMS
Remove All Ads from XDA

[Q] Progress bar with surise and sunset

23 posts
Thanks Meter: 2
 
By danis777, Junior Member on 12th May 2014, 05:28 PM
Post Reply Email Thread
Hi,
is it possible to set progress bar which starting on sunrise ane ending on sunset?
Progress bar will be showing time of sunshine day.

thx for help
 
 
13th May 2014, 11:12 AM |#2  
Senior Member
Bornheim
Thanks Meter: 80
 
More
Thumbs up
Quote:
Originally Posted by danis777

Hi,
is it possible to set progress bar which starting on sunrise ane ending on sunset?
Progress bar will be showing time of sunshine day.

thx for help

Hi Danis777!
It is, use the following codes:
min = 0
value =
Code:
$(((#DH#*60)+#Dm#)-((#ARH#*60)+#ARm#))$
max =
Code:
$(((#ASH#-ARH)*60)+(60-#ARm#)+#ASm#)$
To hide the bar at night use Advanced Parameters:
Code:
$#AISDAY#=0?[cf]00ffffff[/cf][cb]00ffffff[/cb]$
The Following 4 Users Say Thank You to CopKiller76 For This Useful Post: [ View ] Gift CopKiller76 Ad-Free
13th May 2014, 02:06 PM |#3  
OP Junior Member
Thanks Meter: 2
 
More
Quote:
Originally Posted by CopKiller76

Hi Danis777!
It is, use the following codes:
min = 0
value =

Code:
$(((#DH#*60)+#Dm#)-((#ARH#*60)+#ARm#))$
max =
Code:
$(((#ASH#-ARH)*60)+(60-#ARm#)+#ASm#)$
To hide the bar at night use Advanced Parameters:
Code:
$#AISDAY#=0?[cf]00ffffff[/cf][cb]00ffffff[/cb]$

thx, i´m going to do it

it´s done and functional
The Following User Says Thank You to danis777 For This Useful Post: [ View ] Gift danis777 Ad-Free
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes