Skip to content

the function setLevel() does not work #15

@David13579246810

Description

@David13579246810
   Here is my code 

   ImageView image1 = findViewById(R.id.image1);  //my battery image
    Drawable mWaveDrawable = new WaveDrawable(image1.getDrawable());
    mWaveDrawable.setLevel(35);
    image1.setImageDrawable(mWaveDrawable);
   
    The water level of my image is 0

Screenshot_2019-04-19-19-09-11-934_com example wa
.I can not get a fixed 35 level.

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