MobileStyle()
Syntax
MobileStyle(Style)Description
Force the style for the UI rendering. It's mainly useful when designing the UI for both Android and iOS app. It needs to be called before any other command of the this library. If this command isn't used, the UI will automatically choose the proper look depending of the device (Android or iOS).
Parameters
Style It can be one of the following value: #PB_Mobile_iOS: Use the iOS look (default). #PB_Mobile_Android: Use the Android look (Material Design).
Return value
None.
Example
MobileStyle(#PB_Mobile_Android) If ContainerMobile(#PB_Any, #PB_Mobile_Page, "padding:16px") SwitchMobile(1) CloseMobileContainer() EndIf
Supported OS
All