How to reverse SeekBar values?
<p>I have the following code:</p>

<pre><code>int min = 1;
int max = 255;

seekBar.setMax(max - min);

seekBar.setOnSeekBarChangeListener(new SeekBar.OnSeekBarChangeListener() {
    @Override
    public void onProgressChanged(SeekBar seekBar, int progress, boolean fromUser) {
        int value = progress + min;
    }
});
</code></pre>

<p>The values: 1 ... 255</p>

<p>The values i'd like to get: 255 ... 1</p>

<p>Pretty stupid question, but i just can't figure out how to reverse this calculation, could someone point me in the right direction?</p>