Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

请问下loading框 MaterialDialog宽度能修改吗? #143

Open
AndroidBody opened this issue Jul 5, 2024 · 1 comment
Open

请问下loading框 MaterialDialog宽度能修改吗? #143

AndroidBody opened this issue Jul 5, 2024 · 1 comment

Comments

@AndroidBody
Copy link

请问下loading框 MaterialDialog宽度能修改吗?

@WeiLianYang
Copy link

我是这么设置的,供你参考:

      loadingDialog = MaterialDialog(this)
            .cancelable(true)
            .cancelOnTouchOutside(false)
            .cornerRadius(12f)

            .maxWidth(res = R.dimen.space_180)

            .customView(R.layout.dialog_progress_loading)
            .lifecycleOwner(this)

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

No branches or pull requests

2 participants