SyntaxFix
Write A Post
Hire A Developer
Questions
if you are overriding onMeasure, don't forget to update the new sizes
onMeasure
@Override protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { setMeasuredDimension(newWidth, newHeight); }