Commit af153d91 by Slowhand Committed by GitHub

Android Fixed Circular borders are gone (#225) (#238)

parent cb70da00
...@@ -49,7 +49,7 @@ internal class MethodCallHandlerImpl(var context: Context) : MethodCallHandler { ...@@ -49,7 +49,7 @@ internal class MethodCallHandlerImpl(var context: Context) : MethodCallHandler {
context.resources.getDrawable(R.drawable.corner) context.resources.getDrawable(R.drawable.corner)
} }
if(bgcolor != null) { if(bgcolor != null) {
gradientDrawable.setColorFilter(bgcolor.toInt(), PorterDuff.Mode.SRC) gradientDrawable.setColorFilter(bgcolor.toInt(), PorterDuff.Mode.SRC_IN)
} }
text.background = gradientDrawable text.background = gradientDrawable
if(textSize != null) { if(textSize != null) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment