title: Does `PreferenceScreen` need height and width?
body: <p>I got the following code from <a href="http://developer.android.com/guide/topics/ui/settings.html" rel="nofollow">the android documentation</a></p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"&gt;
      &lt;CheckBoxPreference
          android:key="pref_sync"
          android:title="@string/pref_sync"
          android:summary="@string/pref_sync_summ"
          android:defaultValue="true" /&gt;
      &lt;ListPreference
          android:dependency="pref_sync"
          android:key="pref_syncConnectionType"
          android:title="@string/pref_syncConnectionType"
          android:dialogTitle="@string/pref_syncConnectionType"
          android:entries="@array/pref_syncConnectionTypes_entries"
          android:entryValues="@array/pref_syncConnectionTypes_values"
          android:defaultValue="@string/pref_syncConnectionTypes_default" /&gt;
  &lt;/PreferenceScreen&gt;
  </code></pre>
  
  <p>Android studio is giving me an error saying I am missing Height and Width on the <code>PreferenceScreen</code> tag. It's easy enough to fix but I can't believe the doc would have invalid code so I am curious if I am doing something wrong and I am missing a setting somewhere. </p>