Closed gargVader closed 3 years ago
Have you add top radius ?
I have this issue too.. How to fix this ? It applies cornerRadius to all corners when I select any corner. Corner selection doesnt work.
What version are you using?
Latest.. 1.7.8 I forked library and when giving corners it works correctly.. But when I add library to my project it doesnt work and SmoothBottomBar.kt codes are different than actual codes in library.. There is slight differences.. Maybe you didnt change version code at the latest build.. Turkce konusursan daha iyi anlarim kardesim Sunday, 30 January 2022, 01:14AM +04:00 from Brook Mezgebu @.*** :
What version are you using? — Reply to this email directly, view it on GitHub , or unsubscribe . Triage notifications on the go with GitHub Mobile for iOS or Android . You are receiving this because you commented. Message ID: @ github . com>
Ya unfortunately fix hasn't been released yet. The latest (1.7.8) doesn't contain #94. @ibrahimsn98 will hopefully release a newer version soon but until then forking the lib and directly adding it should work.
Sent from Mail.ru app for Android Sunday, 30 January 2022, 01:46AM +04:00 from Brook Mezgebu @.*** :
Ya unfortunately fix hasn't been released yet. The latest (1.7.8) doesn't contain #94 . @ibrahimsn98 will hopefully release a newer version soon but until then forking the lib and directly adding it should work. — Reply to this email directly, view it on GitHub , or unsubscribe . Triage notifications on the go with GitHub Mobile for iOS or Android . You are receiving this because you commented. Message ID: @ github . com>
The sample app directly imports the module from local directory as they are under a same gradle configuration.
Try to use this
dependencies { implementation 'com.github.ibrahimsn98:SmoothBottomBar:-SNAPSHOT' }
when you import it into your project instead of specifying the version code. This will pull the latest commit from the master branch which in this case contains the fix.
I fixed it via changing build.gradle version code to 2.. And released 1.7.9.. It worked now.. Weird implementation 'com.github.n-droidev:SmoothBottomBar:1.7.9'
I created pull request
The sample app directly imports the module from local directory as they are under a same gradle configuration.
Try to use this
dependencies { implementation 'com.github.ibrahimsn98:SmoothBottomBar:-SNAPSHOT' }
when you import it into your project instead of specifying the version code. This will pull the latest commit from the master branch which in this case contains the fix.
This would've been a better solution for you instead of releasing your own. No need for a new PR, ibrahim will release a new version soon anyway.
Intended UI is to only have topLeft and topRight radius.
Faulty:
Correct: