You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using your library in my recent project and found that if I remove buttons, it creates a blank space which looks odd. Upon further investigation, I found that the buttons are set to "INVISIBLE" mode when they are null, which is causing the blank space to appear.
To resolve this issue for my current project, I modified the library code to set the buttons to "GONE" when they are null.
I believe this is a minor change that can easily be implemented, and I wanted to suggest it to the author. I cloned the library's repo, made the necessary modifications, and tested them in my project, which worked perfectly.
If you agree with my solution, I would be happy to contribute by submitting a pull request with the change
Thank you for creating this useful library, and I hope my feedback can help improve it for the entire community. If you need any further information or clarification, please let me know.
Hello @PatilShreyas,
I am using your library in my recent project and found that if I remove buttons, it creates a blank space which looks odd. Upon further investigation, I found that the buttons are set to "INVISIBLE" mode when they are null, which is causing the blank space to appear.
To resolve this issue for my current project, I modified the library code to set the buttons to "GONE" when they are null.
I believe this is a minor change that can easily be implemented, and I wanted to suggest it to the author. I cloned the library's repo, made the necessary modifications, and tested them in my project, which worked perfectly.
If you agree with my solution, I would be happy to contribute by submitting a pull request with the change
Thank you for creating this useful library, and I hope my feedback can help improve it for the entire community. If you need any further information or clarification, please let me know.
MaterialDialog-Android/MaterialDialogLibrary/src/main/java/dev/shreyaspatil/MaterialDialog/AbstractDialog.java
Line 122 in e3338c6
MaterialDialog-Android/MaterialDialogLibrary/src/main/java/dev/shreyaspatil/MaterialDialog/AbstractDialog.java
Line 137 in e3338c6
The text was updated successfully, but these errors were encountered: