public ZoomControls(android.content.Context context, android.util.AttributeSet attrs ) : base(context, attrs) { setFocusable(false); android.view.LayoutInflater inflater = (android.view.LayoutInflater)context.getSystemService (android.content.Context.LAYOUT_INFLATER_SERVICE); inflater.inflate([email protected]_controls, this, true); // we are the parent mZoomIn = (android.widget.ZoomButton)findViewById([email protected]); mZoomOut = (android.widget.ZoomButton)findViewById([email protected] ); }
public ZoomControls(android.content.Context context, android.util.AttributeSet attrs ) : base(context, attrs) { setFocusable(false); android.view.LayoutInflater inflater = (android.view.LayoutInflater)context.getSystemService (android.content.Context.LAYOUT_INFLATER_SERVICE); inflater.inflate([email protected]_controls, this, true); // we are the parent mZoomIn = (android.widget.ZoomButton)findViewById([email protected]); mZoomOut = (android.widget.ZoomButton)findViewById([email protected] ); }