private android.widget.FrameLayout createContainer() { android.view.WindowManagerClass.LayoutParams lp = new android.view.WindowManagerClass .LayoutParams(android.view.ViewGroup.LayoutParams.WRAP_CONTENT, android.view.ViewGroup .LayoutParams.WRAP_CONTENT); lp.gravity = android.view.Gravity.TOP | android.view.Gravity.LEFT; lp.flags = android.view.WindowManagerClass.LayoutParams.FLAG_NOT_TOUCHABLE | android.view.WindowManagerClass .LayoutParams.FLAG_NOT_FOCUSABLE | android.view.WindowManagerClass.LayoutParams. FLAG_LAYOUT_NO_LIMITS | android.view.WindowManagerClass.LayoutParams.FLAG_ALT_FOCUSABLE_IM; lp.height = android.view.ViewGroup.LayoutParams.WRAP_CONTENT; lp.width = android.view.ViewGroup.LayoutParams.MATCH_PARENT; lp.type = android.view.WindowManagerClass.LayoutParams.TYPE_APPLICATION_PANEL; lp.format = android.graphics.PixelFormat.TRANSLUCENT; lp.windowAnimations = [email protected]_ZoomButtons; mContainerLayoutParams = lp; android.widget.FrameLayout container = new android.widget.ZoomButtonsController.Container (this, mContext); container.setLayoutParams(lp); container.setMeasureAllChildren(true); android.view.LayoutInflater inflater = (android.view.LayoutInflater)mContext.getSystemService (android.content.Context.LAYOUT_INFLATER_SERVICE); inflater.inflate([email protected]_container, container); mControls = (android.widget.ZoomControls)container.findViewById([email protected] .id.zoomControls); mControls.setOnZoomInClickListener(new _OnClickListener_266(this)); mControls.setOnZoomOutClickListener(new _OnClickListener_272(this)); return(container); }
private android.widget.FrameLayout createContainer() { android.view.WindowManagerClass.LayoutParams lp = new android.view.WindowManagerClass .LayoutParams(android.view.ViewGroup.LayoutParams.WRAP_CONTENT, android.view.ViewGroup .LayoutParams.WRAP_CONTENT); lp.gravity = android.view.Gravity.TOP | android.view.Gravity.LEFT; lp.flags = android.view.WindowManagerClass.LayoutParams.FLAG_NOT_TOUCHABLE | android.view.WindowManagerClass .LayoutParams.FLAG_NOT_FOCUSABLE | android.view.WindowManagerClass.LayoutParams. FLAG_LAYOUT_NO_LIMITS | android.view.WindowManagerClass.LayoutParams.FLAG_ALT_FOCUSABLE_IM; lp.height = android.view.ViewGroup.LayoutParams.WRAP_CONTENT; lp.width = android.view.ViewGroup.LayoutParams.MATCH_PARENT; lp.type = android.view.WindowManagerClass.LayoutParams.TYPE_APPLICATION_PANEL; lp.format = android.graphics.PixelFormat.TRANSLUCENT; lp.windowAnimations = [email protected]_ZoomButtons; mContainerLayoutParams = lp; android.widget.FrameLayout container = new android.widget.ZoomButtonsController.Container (this, mContext); container.setLayoutParams(lp); container.setMeasureAllChildren(true); android.view.LayoutInflater inflater = (android.view.LayoutInflater)mContext.getSystemService (android.content.Context.LAYOUT_INFLATER_SERVICE); inflater.inflate([email protected]_container, container); mControls = (android.widget.ZoomControls)container.findViewById([email protected] .id.zoomControls); mControls.setOnZoomInClickListener(new _OnClickListener_266(this)); mControls.setOnZoomOutClickListener(new _OnClickListener_272(this)); return container; }