Bad value from AttributeSet.getAttributeValue()
<p>I have a custom SeekBarPreference, which extends DialogPreference. I'm building my own layout, yet still using the parent's attributes.</p>

<pre><code>&lt;com.example.preference.SeekBarPreference
     android:key="key"
     android:title="title"
     android:summary="summary"
     android:dialogMessage="diag message"
     android:text="text"
     android:max="60"
     android:defaultValue="30" /&gt;
</code></pre>

<p>In the code section, I'm retrieving the attr.getAttributeValue(androidDns, attrKey), like so</p>

<pre><code>mText = attrs.getAttributeValue(androidns, "text");
mMax = attrs.getAttributeIntValue(androidns, "max", 30);
...
</code></pre>

<p>The thing is that in the 'mText' member I'm getting something like "@12341234" kind of text, but 'mMax' is being set right.</p>

<p>How is this possible  ?</p>
