B4A Library Clock 24

as the title said, a custom view of my 24 hour clock (just for fun) build into a library.

unzip Clock24.zip into libraries folder or your extra librarys folder,
then refresh library list in ide and select Clock24.

for download link please scroll to 1.04

the idea behind my 24 hour clock view is that you can better compare two or more times at different time zones instead of 2 x 12 hours view.

the sun is up at 12 and 24=0 at bottom is midnight.

first version
Screenshot_20180209-143302.png


designer
Snap_2018.02.09_14h45m40s_003_.png
 
Last edited:

MarkusR

Well-Known Member
Licensed User
Longtime User
1.01

i added a background image
Clock24A.SetBackgroundBitmap(LoadBitmap(File.DirAssets,"bg1.png"))
if you use images as background please make the clock square in design width=height

some color variations
Screenshot_20180209-173125.jpg Screenshot_20180209-173646.jpg Screenshot_20180209-173820.jpg Screenshot_20180209-174330.jpg Screenshot_20180209-174721.jpg
 
Last edited:

MarkusR

Well-Known Member
Licensed User
Longtime User
1.02
some more propertys to control the sizes. you need to open designer and save again.
(i have no graphic designer talent for the clock-face)
Screenshot_20180209-210009.jpg
 
Last edited:

MarkusR

Well-Known Member
Licensed User
Longtime User
1.04 end of day :)
optional seconds & minutes
(this background image is not included, i found an clock face .svg file in web and edited it for myself)
Screenshot_20180209-234639.jpg
 

Attachments

  • Clock24_104.zip
    6.2 KB · Views: 376
  • Clock24_104_Source.zip
    21.8 KB · Views: 385
Last edited:

Almora

Well-Known Member
Licensed User
Longtime User
hi..
Can it be set as a widget?

CustomView does not support this widget when I try.
 

MarkusR

Well-Known Member
Licensed User
Longtime User
I have tried. widget did not allow custom view
today i made some progress with the example widget. i will make a extra clock 24 widget project for it.
 
Top