AviranAbady/CookieBar2

Default Bar Layout Issue

zCode93 opened this issue · 6 comments

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

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

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

Thanks.

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

Thanks @zCode93, looking into it.

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

Yes it has been resolved. Thank you @AviranAbady