Develop
Develop
Select your platform

Panel Sizing

You can set a default size for your app to launch using the <layout> element in your AndroidManifest. You can find more details on layout in the Android developers guide.
<activity>
    ...
    <layout
        android:defaultHeight="640dp"
        android:defaultWidth="1024dp" />
</activity>
An image showing an Android app in landscape mode running on Meta Quest, hovering above a passthrough background.

Multi-panel activity support

Multi-panel activity on Meta Horizon OS allows multiple activities to run simultaneously in separate panels, without integrating any other SDK.
private fun openNewPanelActivity() {
 val intent = Intent(this, AnotherPanelActivity::class.java)
 intent.addFlags(
   Intent.FLAG_ACTIVITY_LAUNCH_ADJACENT
       or Intent.FLAG_ACTIVITY_NEW_TASK
       or Intent.FLAG_ACTIVITY_MULTIPLE_TASK
 )
 startActivity(intent)
}
Did you find this page helpful?
Thumbs up icon
Thumbs down icon