MaterialDesignLibrary
MaterialDesignLibrary copied to clipboard
NullPointerException with ButtonRectangle when setText() invoked
ButtonRectangle doesn't override this method defined in Button,and both class has instance variable "textButton" . The Button's textButton is null when using ButtonRectangle. Did I think right?
I have the same problem and I fixed it with this:
@Override
public void setText(String text){
textButton.setText(text);
}
Thanks,I deleted textButton in ButtonRectangle
I've made changes, fixing some issue,
- SetText Button programmatically
- conflict error ""Error:Attribute "rippleColor" has already been defined"" which occurs when you use Material Design Library
Adding some features
- ImageButtonFlat
- ImageButtonFloat
- ButtonFlatVertical
Have a look at https://github.com/Hallaz/MaterialDesignLibrary
I'm getting the same errors. Will this be fixed or should I use the less recent library (i. e. the fork Hallaz mentioned)?