Browser Widget on Android
Brian Milby
brian at milby7.com
Sun Jul 15 11:04:38 EDT 2018
I have a question/small favor to ask someone that develops on Android.
When you place a browser widget on a stack and deploy to iOS, the content
inside the widget is always at native resolution. If you use a resize
handler or the GM to position the rect and a FullScreenMode of noScale,
everything works as expected. If you select any other FullScreenMode, then
the rect of the widget is adjust proportionally based on the mode, but the
content stays the native size (it doesn't get stretched/squished like other
native LiveCode controls).
To see this in action, you can use the MobileProfile stack I created (you
will need a splash image set for the actual size of the device for it to
work properly on iOS, not sure about Android). The top grey circle will
show the browser widget. The widget hides when an orientation change is
detected.
Here's a link to the stack. I can post it elsewhere if needed.
https://www.dropbox.com/s/tt81fn3jw8utmc6/MobileProfile.livecode?dl=0
My question is how does this work on Android? My guess is that it would be
similar in that the content inside the browser widget would remain native
and just the LiveCode controls outside of it would get scaled.
Thanks,
Brian
More information about the use-livecode
mailing list