public ParticleSystem(Activity a,int maxParticles,int drawableResId,long timeToLive){
  this(a,maxParticles,ContextCompat.getDrawable(a,drawableResId),timeToLive,android.R.id.content);
}

public ParticleSystem ( Activity a , int maxParticles , int drawableResId , long timeToLive ) { this ( a , maxParticles , ContextCompat . getDrawable ( a , drawableResId ) , timeToLive , android . R . id . content ) ; }
creates a particle system with the given parameters
