Skip to content

fix(android): render transparent artboard areas as transparent - #411

Merged
mfazekas merged 1 commit into
rive-app:mainfrom
kirgy:fix/android-transparent-texture-view
Oct 7, 2026
Merged

mfazekas merged 1 commit into
rive-app:mainfrom
kirgy:fix/android-transparent-texture-view

Conversation

@kirgy

@kirgy kirgy commented Oct 7, 2026 •

Copy link
Copy Markdown
Contributor

The Android native TextureView is missing a the isOpaque=false, as a result the backgrounds render black.

Adding the flag, resolves the issue

Screen iOS Android Patched Android
Home

Closes #409

… new runtime

The new backend renders into a TextureView that was never marked
non-opaque, so the transparent clear colour composited as black.
rive-android's own hosts already call setOpaque(false).

Fixes rive-app#409
@mfazekas

mfazekas commented Oct 7, 2026

Copy link
Copy Markdown
Collaborator

Thanks @kirgy! I reproduced and verified this same fix in #410 on an Android release build; the reproducer page Issue409TransparentBackground is there if you want to check it. Going with your PR.

@kirgy

kirgy commented Oct 7, 2026

Copy link
Copy Markdown
Contributor Author

Thanks @kirgy! I reproduced and verified this same fix in #410 on an Android release build; the reproducer page Issue409TransparentBackground is there if you want to check it. Going with your PR.

Thanks @mfazekas - ah, I see we were both by chance working on the same problem at the same time! 😄

@mfazekas
mfazekas enabled auto-merge (squash) October 7, 2026 14:48
@mfazekas
mfazekas merged commit 029fab1 into rive-app:main Oct 7, 2026
11 checks passed
@mfazekas

mfazekas commented Oct 7, 2026

Copy link
Copy Markdown
Collaborator

@kirgy thanks much for the fix!

mfazekas pushed a commit that referenced this pull request Oct 7, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.5.4](v0.5.3...v0.5.4)
(2026-10-07)


### Bug Fixes

* **android:** render transparent artboard areas as transparent
([#411](#411))
([029fab1](029fab1)),
closes
[#409](#409)

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
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

Successfully merging this pull request may close these issues.

[Android] New runtime renders transparent artboard areas black

2 participants