1. 程式人生 > >android 點選穿透

android 點選穿透

//點選不穿透
LinearLayout llabout = (LinearLayout)findViewById(R.id.ll_about);//先指定你要處理的layout
llabout.setOnTouchListener(new OnTouchListener() {
    public boolean onTouch(View v, MotionEvent event) {
       return true;
    }
});