Skip to content

图片显示大小及代码问题 #2

Description

@guodongAndroid

AbsRoundImageView#drawImage()中应该是这样

Canvas drawCanvas = new Canvas(bitmap);
drawable.setBounds(0, 0, getWidth(), getHeight());
drawable.draw(drawCanvas);

drawCanvas.getWidth()改为getWidth(), drawCanvas.getHeight()改为getHeight()

使用Xfermode时,尽量禁用硬件加速和使用离屏绘制

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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