I resize to the bottom of a 1 px transparent graphic line the full width of the screen that I place in the appropriate place based on the reported device geometry. In the IDE and on Android it's at y=-1, on iOS it's... well I don’t know or care, LC tells be where it should go. Then I place all objects below that line.
PS: 2 files would make my head explode. Ralph DiMola IT Director Evergreen Information Services [email protected] -----Original Message----- From: use-livecode [mailto:[email protected]] On Behalf Of Terry Judd Sent: Monday, May 23, 2016 9:36 PM To: How to use LiveCode Subject: Re: Handling Top Status Bar in App Design Stage 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" <[email protected] on behalf of [email protected]> 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" ><[email protected] on behalf of >[email protected]> 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 >[email protected] >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
