title: How to change seekbar progress Position by changing value in the EditText?
body: <pre><code>  I want to change the seekbar progress position by changing the value in EditText dynamically. please help me out from this issue .
  
           &lt;EditText  
                  android:id="@+id/editText1"   
                  android:layout_width="120dp"   
                  android:layout_height="wrap_content" /&gt;    
  
       &lt;SeekBar  
       android:id="@+id/seekBar1"  
       android:layout_width="match_parent"  
       android:layout_height="wrap_content"    
       android:max="4990000"    
       android:progress="10"  /&gt;  
  </code></pre>
  
  <p>And here is the java code </p>
  
  <pre><code>    seekbar1 = (SeekBar) findViewById(R.id.seekBar1);
      seekbar1.setProgress(30);
      seekbar1.setOnSeekBarChangeListener( new OnSeekBarChangeListener()
      {
          public void onProgressChanged(SeekBar seekBar, int progress,boolean fromUser)
          {
              spinnervalue=(EditText)findViewById(R.id.editText1);
  
                  spinnervalue.setText(""+Integer.toString(progress));
  
              //  Notify that the progress level has changed.  
  
              if(txtAmount.getText().length() &gt; 0
                      &amp;&amp; txtYears.getText().length() &gt; 0
                      &amp;&amp; txtRate.getText().length() &gt; 0)
              {
                  calculate();
              }
  
          }
  
      });
  </code></pre>
  
  <p>so by changing the values in the edittext based on the value entered in that the seekbar has to be moved to particular value.</p>