Documentscustom-layout-changes-for-android-players-and-progressive-web-app-pwa

Custom Layout changes for Android Players and Progressive Web App (PWA)

Custom layouts need to be sized to the screen of your Android device or PWA player.

The players covered here are PiSignage for Android and the PWA at pisignage.com/player2.

Limitations

  1. Display resolution, orientation and dual display settings changed from the group settings work on PiSignage for Raspberry Pi, Odroid N2, Intel NUC and similar devices. They are not supported on PiSignage for Android or the PWA.
  2. A custom layout made for the Raspberry Pi will not work on Android because the device pixel ratio differs. Android devices vary in screen size (handsets, tablets, TVs) and pixel density, so layouts designed for the Raspberry Pi may look zoomed in.
  3. To show assets full screen in the MainZone, use Layout 1 in landscape mode and Layout 2ap in portrait mode.

Apply a custom layout on Android

  1. Launch the PiSignage for Android player on the device.
  2. Open its Settings page, see Change server in PiSignage Android 2.0 for how to get there.
  3. Next to the Player Configuration title, note the Layout size, for example:
Layout: 960x540
  1. In the Template Designer, enter that size under Custom resolution, then adjust the MainZone, SideZone and other zones to fit that window. See Template Designer.
  2. After creating the template, open your playlist and assign the custom layout in the Layouts popup.