Select to view content in your preferred language

The question about how to setup SceneView background

310
0
02-26-2024 07:21 PM
LinWenjian
New Contributor

SceneView background always can't setup ,can you tell me how to setup background for image I try to setup background in layout but is unuseless when map loaded,for example: <com.esri.arcgisruntime.mapping.view.SceneView android:id="@+id/scene" android:layout_width="match_parent" android:layout_height="match_parent" android:background="@drawable/background_borders"/>

I am also setup like this in java file but the background is always black : binding.scene.setSpaceEffect(SpaceEffect.TRANSPARENT); binding.scene.getScene().getBaseSurface().setOpacity(0); binding.scene.setAtmosphereEffect(AtmosphereEffect.NONE);

I hope someone help me ,thank you

0 Replies