B4A Library Clock 24

Discussion in 'Additional libraries, classes and official updates' started by MarkusR, Feb 9, 2018.

  1. MarkusR

    MarkusR Well-Known Member Licensed User

    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: Feb 9, 2018
  2. MarkusR

    MarkusR Well-Known Member Licensed 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: Feb 9, 2018
    stanks and Johan Schoeman like this.
  3. MarkusR

    MarkusR Well-Known Member Licensed 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: Feb 9, 2018
  4. MarkusR

    MarkusR Well-Known Member Licensed 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
     

    Attached Files:

    Last edited: Feb 9, 2018
    stanks, inakigarm, Erel and 3 others like this.
  5. Almora

    Almora Active Member Licensed User

    hi..
    Can it be set as a widget?

    CustomView does not support this widget when I try.
     
  6. MarkusR

    MarkusR Well-Known Member Licensed User

    Almora likes this.
  7. Almora

    Almora Active Member Licensed User

    I have tried. widget did not allow custom view
     
  8. MarkusR

    MarkusR Well-Known Member Licensed User

    today i made some progress with the example widget. i will make a extra clock 24 widget project for it.
     
  9. MarkusR

    MarkusR Well-Known Member Licensed User

Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice