Code example for ZoomControls

Methods: getMeasuredWidth

0
		return this.zoomControls.getMeasuredHeight();
	} 
 
	int getMeasuredWidth() { 
		return this.zoomControls.getMeasuredWidth();
	} 
 
	void measure(int widthMeasureSpec, int heightMeasureSpec) {
		this.zoomControls.measure(widthMeasureSpec, heightMeasureSpec);
	} 
 
	void onLayout(boolean changed, int left, int top, int right, int bottom) {
		if (!changed && !this.gravityChanged) {
			return; 
		} 
 
		int zoomControlsWidth = this.zoomControls.getMeasuredWidth();
		int zoomControlsHeight = this.zoomControls.getMeasuredHeight();
 
		int positionLeft = calculatePositionLeft(left, right, zoomControlsWidth);
		int positionTop = calculatePositionTop(top, bottom, zoomControlsHeight);