@Override
	protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) {
		super.onMeasure(widthMeasureSpec, heightMeasureSpec);
		LOGGER.trace("Called Action Button onMeasure");
		setMeasuredDimension(calculateMeasuredWidth(), calculateMeasuredHeight());
		LOGGER.trace("Measured the Action Button size: height = {}, width = {}", getHeight(), getWidth());
	}
@ Override protected void onMeasure ( int widthMeasureSpec , int heightMeasureSpec ) { super . onMeasure ( widthMeasureSpec , heightMeasureSpec ) ; LOGGER . trace ( "Called Action Button onMeasure" ) ; setMeasuredDimension ( calculateMeasuredWidth ( ) , calculateMeasuredHeight ( ) ) ; LOGGER . trace ( "Measured the Action Button size: height = {}, width = {}" , getHeight ( ) , getWidth ( ) ) ; }
Sets the measured dimension for the entire view

@param widthMeasureSpec horizontal space requirements as imposed by the parent.
The requirements are encoded with
{@link android.view.View.MeasureSpec}
@param heightMeasureSpec vertical space requirements as imposed by the parent.
The requirements are encoded with
{@link android.view.View.MeasureSpec}