Compat version of EditTextPreferences ignores xml attributes
<p>I'm using a PreferenceFragmentCompat which inflates the preferences to a different EditTextPreference class than the stock one.</p>

<p>Here's the preference code:</p>

<pre><code>  &lt;EditTextPreference
        android:key="description"
        android:title="Description"
        android:selectAllOnFocus="true"
        android:lines="3"
        android:summary=""/&gt;
</code></pre>

<p>The problems I'm running into are:</p>

<ul>
<li><p>soft keyboard doesn't automatically come up</p></li>
<li><p>text doesn't get selected on focus</p></li>
<li><p>dialog still shows a single-line EditText</p></li>
</ul>

<p>What am I missing?</p>

<p>EDIT: the formatting part can be achieved using android:dialogLayout in the preference. However, the keyboard never comes up.</p>