We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Can I set the Toast width and height? If not,Can you Support?
The text was updated successfully, but these errors were encountered:
Hello, there is no direct way to do that, but as a workaround you can get the text inside the root View and set the width and height there:
View
Toast toast = Toasty.success(this, "Hi there"); toast.getView().findViewById(R.id.toast_text).setLayoutParams(new LinearLayout.LayoutParams(widht, height)); toast.show();
(Or get the root View and set padding to it).
Sorry, something went wrong.
No branches or pull requests
Can I set the Toast width and height? If not,Can you Support?
The text was updated successfully, but these errors were encountered: