Handling Top Status Bar in App Design Stage

Sannyasin Brahmanathaswami brahma at hindu.org
Tue May 24 03:01:57 CEST 2016


Terry, thanks, that pretty much how I thought it would work.  I wanted to hide the status bar in some "modules" (card-series) on the same app, but then show them on others as I think users appreciate having that information available… so if the app does not really require every single pixel top to bottom, why not give them the status bar… (my current thinking)

 Looking at the dictionary I'm seeing only three relevant commands

mobileHideStatusbar
mobileShowStatusBar
iPhoneSetStatusBarStyle (style)

Not sure how this plays out on Android if one a) give 22 pixels free space and b) is going to go with one of the full screen modes (my Nexus 5 is out of power at the moment) The dictionary says:

"mobileHideStatusBar does not have any effect on any Android devices with "hardware buttons" embedded in the status bar."

What exactly are the Android "hardware buttons" I thought those ran at the bottom by default. In the stand alone builder I see the option to set status bar to visible or hidden… so "who" decides where the hardware buttons go.. 

BR


On 5/23/16, 2:23 PM, "use-livecode on behalf of Terry Judd" <use-livecode-bounces at lists.runrev.com on behalf of terry.judd at unimelb.edu.au> wrote:

>For iOS I¹ve just taken to leaving the top 22 pixels free of content. If I
>want a dark status bar with white text then I position a dark bg graphic
>in this space and set the status bar style to Œblack translucent¹ and if I
>want black text on a light background I either set the background of the
>stack to white and don¹t use a graphic or use a white or light coloured
>graphic and then set the status bar style to default.
>
>Terry...



More information about the use-livecode mailing list