<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
  <PreferenceCategory android:title="@string/pref_background_category">
    <CheckBoxPreference android:title="@string/pref_background_title"
      android:summary="@string/pref_background_description"
      android:defaultValue="false"
      android:key="background_enabled" />
    <ListPreference android:title="@string/pref_frequency_title"
      android:summary="@string/pref_frequency_description"
      android:key="background"
      android:defaultValue="@integer/every1hour"
      android:entries="@array/background"
      android:entryValues="@array/background_values"
      android:dependency="background_enabled" />
  </PreferenceCategory>
  <PreferenceScreen android:title="@string/pref_account_category">
    <EditTextPreference android:title="@string/pref_account_email"
      android:dialogTitle="@string/pref_account_email"
      android:key="email" />
    <EditTextPreference android:title="@string/pref_account_password"
      android:dialogTitle="@string/pref_account_password"
      android:key="password" />
    <com.bryanjswift.simplenote.preference.ClearAccountPreference android:title="@string/pref_account_clear_title"
      android:key="clearAccount"
      android:summary="@string/pref_account_clear_description"
      android:dialogTitle="Clear your credentials?"
      android:positiveButtonText="Clear 'em"
      android:negativeButtonText="Keep 'em" />
  </PreferenceScreen>
</PreferenceScreen>

<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
  <PreferenceCategory android:title="@string/pref_background_category">
    <CheckBoxPreference android:title="@string/pref_background_title"
      android:summary="@string/pref_background_description"
      android:defaultValue="false"
      android:key="background_enabled" />
    <ListPreference android:title="@string/pref_frequency_title"
      android:summary="@string/pref_frequency_description"
      android:key="background"
      android:defaultValue="@integer/every1hour"
      android:entries="@array/background"
      android:entryValues="@array/background_values"
      android:dependency="background_enabled" />
  </PreferenceCategory>
  <PreferenceCategory android:title="@string/pref_account_category">
    <EditTextPreference android:title="@string/pref_account_email"
      android:dialogTitle="@string/pref_account_email"
      android:key="email" />
    <EditTextPreference android:title="@string/pref_account_password"
      android:dialogTitle="@string/pref_account_password"
      android:key="password" />
    <com.bryanjswift.simplenote.preference.ClearAccountPreference android:title="@string/pref_account_clear_title"
      android:key="clearAccount"
      android:summary="@string/pref_account_clear_description"
      android:dialogTitle="Clear your credentials?"
      android:positiveButtonText="Clear 'em"
      android:negativeButtonText="Keep 'em" />
  </PreferenceCategory>
</PreferenceScreen>

Change preference screen to preference category
Change preference screen to preference category

[#44 state:resolved]
