Panels in Spatial Editor
Updated: Sep 30, 2025
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
To add a panel to your composition, select the Add a 2D Panel icon from the Toolbar:
Populate a panel using Spatial SDK
Each panel in Spatial SDK is identified by a unique ID. To assign or update an ID:
- Select the desired panel within your composition.
- Navigate to the Properties panel.
- 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.
- Design in Editor: Place and configure your panel with a unique ID
- Register in SDK: Use the appropriate
PanelRegistration format - Test integration: Verify the panel appears correctly in your scene