public TriggerOverlayView(Context context, AttributeSet attrs, int defStyle) { super(context, attrs, defStyle); mContext = context; ComotID.init(mContext.getPackageName(), mContext); mWM = (WindowManager) getContext().getSystemService(Context.WINDOW_SERVICE); mViewHeight = getWindowHeight(); }
protected void showTriggerRegion() { // setBackgroundResource(R.drawable.trigger_region); setBackgroundResource(ComotID.Get("trigger_region", "drawable")); }