Skip to content

The question about how to setup SceneView background  #118

Open
@875831461

Description

@875831461

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions