get android seekbar value and display it on screen
<p>I'm trying to get the value of the seek bar whenever it changes and display it underneath. I'm using the <code>onclick</code> method on my seekbar to call this method. </p>

<pre><code>public void getNumber(View view) 
{
    SeekBar seek = (SeekBar) findViewById(R.id.seekBar1);
    int seekValue = seek.getProgress();
    String x = "Value: " + Integer.toString(seekValue);
    ((TextView) findViewById(R.id.level)).setText(x);
}
</code></pre>
