Skip to content

Setting amplitude removes wave #5

@tylergets

Description

@tylergets

Hey, I am trying to use this library however whenever I set the amplitude to anything, the wave animation no longer works. It becomes a straight line.

This is android 7.0 on an LG G5.

I am setting the amplitude as so

 mWaveDrawable = new WaveDrawable(this, R.drawable.bar_filler);
        mWaveDrawable.setIndeterminate(true);
        mWaveDrawable.setWaveAmplitude(32);
        binding.imageView3.setImageDrawable(mWaveDrawable);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions