arcgis-maps-sdk-kotlin-samples icon indicating copy to clipboard operation
arcgis-maps-sdk-kotlin-samples copied to clipboard

The question about how to setup SceneView background

Open 875831461 opened this issue 1 year ago • 0 comments

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

875831461 avatar Jun 16 '23 02:06 875831461