You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The below implementation of onMeasure is showing wrong height and width in <= 5.0 devices.
@Override
protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) {
final int measuredWidth = resolveSize(loaderView.getDesiredWidth(), widthMeasureSpec);
final int measuredHeight = resolveSize(loaderView.getDesiredHeight(), heightMeasureSpec);
setMeasuredDimension(measuredWidth, measuredHeight);
}
The text was updated successfully, but these errors were encountered:
The below implementation of onMeasure is showing wrong height and width in <= 5.0 devices.
The text was updated successfully, but these errors were encountered: