Handling Top Status Bar in App Design Stage

Terry Judd terry.judd at unimelb.edu.au
Tue May 24 03:35:39 CEST 2016


I usually build iOS and Android apps from different files. The Android
stack has the content all the way to the top and the status bar set to
visible in the standalone settings pane. I also use a combination of the
letterbox fullscreen mode and some geometry management scripts based
around the working to resize/reposition the screen content for different
devices, which seems to deal with OS level stuff at the bottom (and or
top) of the screen.

Terry...

On 24/05/2016 11:01 am, "use-livecode on behalf of Sannyasin
Brahmanathaswami" <use-livecode-bounces at lists.runrev.com on behalf of
brahma at hindu.org> wrote:

>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...
>
>_______________________________________________
>use-livecode mailing list
>use-livecode at lists.runrev.com
>Please visit this url to subscribe, unsubscribe and manage your
>subscription preferences:
>http://lists.runrev.com/mailman/listinfo/use-livecode



More information about the use-livecode mailing list