Android
Android WebView 에서 가로 스크롤만 막아보기
WebView 에서 가로 스크롤 m_webView.setHorizontalScrollBarEnabled(false); m_webView.setOnTouchListener(new View.OnTouchListener() { public boolean onTouch(View v, MotionEvent event) { switch (event.getAction()) { case MotionEvent.ACTION_DOWN: { // save the x m_downX = event.getX(); } break; case MotionEvent.ACTION_MOVE: case MotionEvent.ACTION_CANCEL: case MotionEvent.ACTION_UP: { // set x so that it do..
2013. 1. 11. 14:22