-
Notifications
You must be signed in to change notification settings - Fork 308
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
How to control Confetti z-axis? #236
Comments
Hey @ronykrell, I would assume that both of the solutions that you've tried work. Can you maybe post a little more of what your layout structure looks like? |
Sure, here is the full layout
|
@ronykrell I couldn't really find any significant reason why, in this layout, the Konfetti would fall in front of the items. So I tested it myself with the same layout structure and everything seems to work. The only thing that I didn't copy was the styling that you're using and the custom |
@DanielMartinus Thanks for checking! I tried removing the styling on the TextView and no luck unfortunately - the confetti goes in front of it. |
Which TextView are you specifically talking about in your layout? |
sInformationFragmentTitle |
Greetings! I'm placing the KonfettiView XML inside a ConstraintLayout. The confetti appears in front of TextViews but behind ImageViews and RecyclerViews. Ideally, I'd like to standardize so that confetti goes behind all views in the ConstraintLayout. Is there any way to do this?
So far I've tried setting the android:elevation and android:translationZ to negative numbers as well as making sure the KonfettiView is the first element of the ConstraintLayout.
The text was updated successfully, but these errors were encountered: