MaterialTextField
MaterialTextField copied to clipboard
How to get rounded corner
I followed the instruction as given. In your demo screen corner are rounded but in my case corner are not rounded. How to achieve that.
yes pls specify
in onFinishInflate()
change
if (backgroundColor != -1) {
card.setBackgroundColor(backgroundColor);
}
for
if (backgroundColor != -1) {
card.getBackground().setColorFilter(backgroundColor, PorterDuff.Mode.SRC_IN);
}
This should have been included in the lib.