Exemplo n.º 1
0
 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();
 }
Exemplo n.º 2
0
 protected void showTriggerRegion() {
   // setBackgroundResource(R.drawable.trigger_region);
   setBackgroundResource(ComotID.Get("trigger_region", "drawable"));
 }