• Since I'm currently working on a 2FA app, I've been thinking about exactly this (along with wondering if there is some sort of theme API for default colours).

    Should it be the app getting the available space from the system? Should there be some way for the app to control how much space is available for widgets? Top only? Bottom only? Both? More or less than 24px?

    Maybe the API should be:

    1. Bangle.getDefaultWidgetHeight() - returns 24 - this could be device dependant?
    2. Bangle.setWidgetHeight(top, btm) - set height of top and/or bottom widget space
    3. Bangle.getWidgetRect() - get effective screen area left after widgets - not necessary? - the app should be able to calculate this?

    Then widgets need a new API to determine how much space is available to them! :-)

    Also, I think that 24px top + 24px bottom (48px total) out of 176px height available on the Bangle 2 is more than 25% of the total screen height! IMO, that's too much.

About

Avatar for andrewg_oz @andrewg_oz started