title: android singleLine vs maxLines
body: <p>I thought <code>singleLine="true"</code> was equivalent to <code>maxLines="1"</code> but I see that the following pre-populated field from Android Studio has both. Is there a difference? Is there a known bug that causes both to be required?</p>
  
  <pre><code>&lt;EditTextPreference
     android:key="example_text"
     android:title="@string/pref_title_display_name"
     android:defaultValue="@string/pref_default_display_name"
     android:selectAllOnFocus="true"
     android:inputType="textCapWords"
     android:capitalize="words"
     android:singleLine="true"
     android:maxLines="1" /&gt;
  </code></pre>
  
  <p>this is from the <code>pref_general.xml</code> file.</p>