title: How to disable scolling in a HorizontalScrollView?
body: <p>I have a HorizontalScrollView and a Button in my project.
  I want this >>>  when Button clicked the HorizontalScrollView don't scroll. Realy user can fix the view.</p>
  
  <p>I use this code but it is not working.</p>
  
  <pre><code>    Button btn_s = (Button) findViewById(R.id.button999);
  
      final HorizontalScrollView   h_scroll = (HorizontalScrollView) findViewById(R.id.horizontalScrollView1);
  
      btn_s.setOnClickListener(new OnClickListener() {
  
          @Override
            public void onClick(View v) {
  
  
              h_scroll.setVisibility(0);
  
  
          }
  
            })
  </code></pre>