Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The question about how to setup SceneView background #118

Open
875831461 opened this issue Jun 16, 2023 · 0 comments
Open

The question about how to setup SceneView background #118

875831461 opened this issue Jun 16, 2023 · 0 comments

Comments

@875831461
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant