-
Notifications
You must be signed in to change notification settings - Fork 398
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
Both Confetti only come from the left #77
Comments
You need to create the particle system after the views are measured, see #22 |
Thanks for the nice job on this library. I have followed the link and now I am using the following code to address the issue.
|
Can I commit the following two codes? It requires min SDK to increase to 16 tho.
package com.plattysoft.leonids.examples; import android.app.Activity; import com.plattysoft.leonids.ParticleSystem; public class OnCreateBehindLayerActivity extends Activity {
} |
how to stop after one time play? |
@bassam2 I assume you are asking about using oneShot instead of emitter, but commenting on an unrelated issue in confusing at the very least. |
Hello @plattysoft Thank you for your reply & support |
@bassam2 this issue is about not starting from the proper place. |
Somehow, both confetti only come from the top left even though the view emiter is properly on left and right of screen top in layout file. Swapping the two ParticleSystem constructors to see if the later constructor(left) is overriding the former constructor(right). It is not the case. For now, I have change the min/max angle to have spread out confetti
The text was updated successfully, but these errors were encountered: