AviranAbady / CookieBar2

Android library for displaying text messages, notifications and alerts at the top or bottom of the screen. A great alternative for toast and snackbar alerts.
Apache License 2.0
668 stars 74 forks source link

Default Bar Layout Issue #9

Closed zCode93 closed 5 years ago

zCode93 commented 5 years ago

Using the default cookie bar layout, there's margins issues. Specially between the image and text (including Title and Message). And if you want to show the the bar without a title, just having an icon and a message, overlap will be noticed. I was using v1.0.9 and it was working fine.

Following are the code, removed original text for this issue:

CookieBar.build(activity) .setMessage("Test") .setBackgroundColor(R.color.winfooz_color_accent) .setIcon(R.drawable.ic_lock_unlocked_24dp) .setEnableAutoDismiss(false) .setSwipeToDismiss(true) .setAction("Action") { // Handle action } .show()

screenshot from 2019-01-28 10-14-20

AviranAbady commented 5 years ago

@zCode93 please provide a github sample project demonstrating the issue.

AviranAbady commented 5 years ago

@zCode93 I cant recreate the issue on my end, please provide a sample project, or I will have to close the issue.

Thanks.

zCode93 commented 5 years ago

@AviranAbady I've added a comment where the icon margin has been removed from code

AviranAbady commented 5 years ago

Thanks @zCode93, looking into it.

AviranAbady commented 5 years ago

@zCode93 version 1.1.1 has been released, please let me know if the issue has been resolved.

zCode93 commented 5 years ago

Yes it has been resolved. Thank you @AviranAbady