title: How to create a single preference with multiple fields?
body: <p>I have a "change password" in my application setting that I want the user be able to input 3 text fields (current password, new password, repeat password) and then just click ok button to save the settings. but the problem is I couldn't find (or been able to create) any preference that can show multiple items (in here 3 <code>EditTextPreference</code>s).</p>
  
  <p>the below code shows just a textbox when its clicked to edit.</p>
  
  <pre><code>&lt;PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"&gt;
  
      &lt;EditTextPreference
          android:capitalize="none"
          android:password="true"
          android:defaultValue=""
          android:inputType="textCapWords"
          android:key="example_text"
          android:maxLines="1"
          android:selectAllOnFocus="true"
          android:singleLine="true"
          android:title="@string/pref_default_current_password" /&gt;
  
  &lt;/PreferenceScreen&gt;
  </code></pre>
  
  <p>i'm looing for something like:</p>
  
  <pre><code>&lt;Group&gt;
          &lt;EditTextPreference
              android:capitalize="none"
              android:password="true"
              android:defaultValue=""
              android:inputType="textCapWords"
              android:key="example_text"
              android:maxLines="1"
              android:selectAllOnFocus="true"
              android:singleLine="true"
              android:title="@string/pref_default_current_password" /&gt;
  
          &lt;EditTextPreference
              android:capitalize="none"
              android:password="true"
              android:defaultValue=""
              android:inputType="textCapWords"
              android:key="example_text"
              android:maxLines="1"
              android:selectAllOnFocus="true"
              android:singleLine="true"
              android:title="@string/pref_default_new_password" /&gt;
  
          &lt;EditTextPreference
              android:capitalize="none"
              android:password="true"
              android:defaultValue=""
              android:inputType="textCapWords"
              android:key="example_text"
              android:maxLines="1"
              android:selectAllOnFocus="true"
              android:singleLine="true"
              android:title="@string/pref_default_repeat_password" /&gt;
  &lt;/Group&gt;
  </code></pre>