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
Toast padding is being removed with fitsSystemWindows set to true. #18
Comments
Mmm, that's so weird, can you provide example images of what's happening? The padding belongs to the original Toast 9patch image. |
Which Android version / device are u using? Also, post the code too. |
I have tested this in my emulator and actual device. So far, I have tested it in 7.0, 6.0. I am going to try to reproduce the problem in the app where the toast padding is correct to see if my theory that the activity theme has something to do with the padding. |
Got it, found the culprit 🎆 |
I'm going to release an update to fix this issue, would you mind waiting some minutes? It'll be available in a moment, the version code will be |
Issue solved, sorry for any inconveniences and thanks for reporting! Remember to udpate it: |
Wow, nice fix! Thank you so much, now I don't have to use spaces for padding 😁 |
Hi @GrenderG , thanks for the great library!
I have a question about how the text padding for Toasty is set. Usually, text in Toasty has a 16-20dp left right margin. However, when I am using the library in a fullscreen activity, the text padding disappears. What is setting the toast's text padding?
P.S. I am currently adding spaces around my toast messages like " Toast Message " to simulate padding. It works great :D
The text was updated successfully, but these errors were encountered: