Develop
Develop
Select your platform

Panels in Spatial Editor

Updated: Sep 30, 2025

Overview

Spatial Editor allows you to place and orient multiple panels in a composition, as well as assign unique IDs needed for your Spatial SDK project.

Understand panels in Spatial SDK

In the Spatial SDK, panels serve as containers for your 2D content. You can direct these panels to existing Android Activity code, which allows the panels to execute complete Android applications. The SDK is compatible with various 2D Android frameworks, giving you the flexibility to choose the framework that best suits your needs, or to continue using classic XML. For more detailed information on working with panels, you can explore additional resources.

Place and position panels

In Spatial Editor, panels are treated as nodes that can be placed into the composition and are manipulated using the same translation, rotation, and scale gizmos.
To add a panel to your composition, select the Add a 2D Panel icon from the Toolbar:
Adding a panel to a composition.

Populate a panel using Spatial SDK

Each panel in Spatial SDK is identified by a unique ID. To assign or update an ID:
  1. Select the desired panel within your composition.
  2. Navigate to the Properties panel.
  3. Enter a unique string into the ID field.

Integration with SDK registration

The ID you enter in Spatial Editor corresponds to the ID used in your SDK panel registration. The Spatial SDK supports multiple ID formats including layout resources, custom resource IDs, and integer resources. For detailed examples and implementation guidance, see Panel ID Format Options in the registration documentation.

Integration workflow

  1. Design in Editor: Place and configure your panel with a unique ID
  2. Register in SDK: Use the appropriate PanelRegistration format
  3. Test integration: Verify the panel appears correctly in your scene
For comprehensive panel implementation guidance, see the 2D Panels documentation.

Design guidelines

Did you find this page helpful?