Android ListPrefrence changes if other ListPrefrence has a different value
<p>I dont know how to implement this this is what i want:</p>

<p>This is a string array in the prefrences menu
    
        
        Black Eagles Theme
    NBB Theme</p>

<pre><code>&lt;/string-array&gt;
&lt;string-array name="themeValues"&gt;
    &lt;item c="BlackEagles Theme"&gt;1&lt;/item&gt;
    &lt;item c="nbb theme"&gt;2&lt;/item&gt;
&lt;/string-array&gt;
</code></pre>

<p>then i have a second prefrences item:
    
        
        2px
    4px</p>

<pre><code>&lt;/string-array&gt;
&lt;string-array name="themeValues"&gt;
    &lt;item c="2"&gt;2&lt;/item&gt;
    &lt;item c="4"&gt;2&lt;/item&gt;
&lt;/string-array&gt;
</code></pre>

<p>But this i want to change depending the selected theme so i mean when i select blackEagles i want to have 2 and 4 px
and when i select NBB i want to have 3px and 6px
how do i implement this?</p>

<p>gr</p>
