Skip to content

Conversation

@qdsfdhvh
Copy link

@qdsfdhvh qdsfdhvh commented Sep 22, 2021

基本使用:

Box(
    modifier = Modifier
        .weight(1f)
        .waveLoading(
            backDrawType = DrawType.DrawImage,
            progress = progress,
            velocity = velocity,
            amplitude = amplitude,
        ),
) {
}

问题:

  • 1.边缘有点瑕疵,我尝试添加了isAntiAlias=true不行,暂时不知道怎么解决。
  • 2.伪适配了BackDrawType.None,未实现真正的透明背景。
  • 3.使用了两次drawContent(),不适合较为复杂的Layout。
1632303658086012.mp4

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant