Expand Minimize Picture-in-picture Power Device Status Voice Recognition Skip Back Skip Forward Minus Plus Play Search
Documentation
Sidebar

Main Screen Templates

Each head unit manufacturer supports a set of user interface templates. These templates determine the position and size of the text, images, and buttons on the screen. Once the app has connected successfully with an SDL enabled head unit, a list of supported templates is available on ((DisplayCapabilities) sdlManager.getSystemCapabilityManager().getCapability(SystemCapabilityType.DISPLAY)).getTemplatesAvailable().

Change the Template

To change a template at any time, send a SetDisplayLayout RPC to Core.

SetDisplayLayout setDisplayLayoutRequest = new SetDisplayLayout();
setDisplayLayoutRequest.setDisplayLayout(PredefinedLayout.GRAPHIC_WITH_TEXT.toString());
setDisplayLayoutRequest.setOnRPCResponseListener(new OnRPCResponseListener() {
    @Override
    public void onResponse(int correlationId, RPCResponse response) {
        if (((SetDisplayLayoutResponse) response).getSuccess()) {
            Log.i("SdlService", "Display layout set successfully.");
            // Proceed with more user interface RPCs
        } else {
            Log.i("SdlService", "Display layout request rejected.");
        }
    }

    @Override
    public void onError(int correlationId, Result resultCode, String info){
        Log.e(TAG, "onError: "+ resultCode+ " | Info: "+ info );
    }
});

sdlManager.sendRPC(setDisplayLayoutRequest);

Available Templates

There are fifteen standard templates to choose from, however some head units may only support a subset of these templates. The following examples show how templates will appear on the Generic HMI and Ford's SYNC 3 HMI.

Media

Generic HMI

Generic - Media without progress bar

Ford HMI

SYNC 3 - Media without progress bar

Media (with a Progress Bar)

Generic HMI

Generic - Media with progress bar

Ford HMI

SYNC 3 - Media with progress bar

Non-Media

Generic HMI

Generic - Non-Media

Ford HMI

SYNC 3 - Non-Media

Graphic with Text

Generic HMI

Generic - Graphic with Text

Ford HMI

SYNC 3 - Graphic with Text

Text with Graphic

Generic HMI

Generic - Text with Graphic

Ford HMI

SYNC 3 - Text with Graphic

Tiles Only

Generic HMI

Generic - Tiles Only

Ford HMI

SYNC 3 - Tiles Only

Graphic with Tiles

Generic HMI

Template currently not supported.

Ford HMI

SYNC 3 - Graphic with Tiles

Tiles with Graphic

Generic HMI

Template currently not supported.

Ford HMI

SYNC 3 - Tiles with Graphic

Graphic with Text and Soft Buttons

Generic HMI

Template currently not supported.

Ford HMI

SYNC 3 - Graphic with Text and Soft Buttons

Text and Soft Buttons with Graphic

Generic HMI

Template currently not supported.

Ford HMI

SYNC 3 Text and Softbuttons with Graphic

Graphic with Text Buttons

Generic HMI

Generic - Graphic with Text Buttons

Ford HMI

SYNC 3 - Graphic with Text Buttons

Double Graphic with Soft Buttons

Generic HMI

Generic - Double Graphic with Softbuttons

Ford HMI

SYNC 3 - Double Graphic with Softbuttons

Text Buttons with Graphic

Generic HMI

Generic - Text Buttons with Graphic

Ford HMI

SYNC 3 - Text Buttons with Graphic

Text Buttons Only

Generic HMI

Generic - Text Buttons Only

Ford HMI

SYNC 3 - Text Buttons Only

Large Graphic with Soft Buttons

Generic HMI

Generic - Large Graphic with Softbuttons

Ford HMI

SYNC 3 - Large Graphic with Softbuttons

Large Graphic Only

Generic HMI

Generic - Large Graphic Only

Ford HMI

SYNC 3 - Large Graphic Only

View on GitHub.com
Previous Section Next Section