title: HorizontalScrollView Maintain Position In Next Activity
body: <p>I am trying to implement a HorizontalScrollView with multiple ImageButtons and so far this looks great because I can scroll through my buttons however I would like to click a button (eg: ImageButton 7) which takes me to Activity 7 where I would like the HorizontalScrollView to remain in the same position scrolled from previous activity and not reset to original position after changing activity.</p>
  
  <p>So in simpler terms I would like to get position of HorizontalScrollView and perhaps use intent to pass the values to next activity and then set those positions in that next activity. Hope I am making sense.</p>
  
  <pre><code>@Override
  protected void onCreate(Bundle savedInstanceState) {
      this.requestWindowFeature(Window.FEATURE_NO_TITLE);
      super.onCreate(savedInstanceState);
      setContentView(R.layout.activity_main);
  
      final HorizontalScrollView hsv = (HorizontalScrollView) findViewById(R.id.hsv);
  
  
      // btnFeatured
      hsv.post(new Runnable() {
          @Override
          public void run() {
              // Get the button.
              ibSeven = (ImageButton) findViewById(R.id.ibSeven);
              ibSeven.setImageResource(R.drawable.ib_seven_h);
              ibSeven.setOnClickListener(new View.OnClickListener() {
  
                  @Override
                  public void onClick(View v) {
                      // TODO Auto-generated method stub
  
                      startActivity(new Intent(MainActivity.this, ActivitySeven.class));
  
  
                  }
  
              });
  </code></pre>