title: Change Background of SwitchPreferenceCompat
body: <p>i am tring to create a settings screen using <strong>androidx.preference.PreferenceScreen</strong>. </p>
  
  <pre><code>&lt;androidx.preference.PreferenceScreen
  xmlns:app="http://schemas.android.com/apk/res-auto"&gt;
  
  &lt;SwitchPreferenceCompat
      app:key="enable"
      app:title="@string/sync_title"/&gt;
  
  &lt;SwitchPreferenceCompat
      app:key="missed"
      app:summary="Remove missed calls and block unwanted ones"
      app:dependency="enable"
      app:title="Missed call alert" /&gt;
  
  &lt;SwitchPreferenceCompat
      app:key="blocked"
      app:dependency="enable"
      app:summary="Receive a silent notification when you receive an unwanted call"
      app:title="Be informed of blocked calls " /&gt;
  
  
  &lt;PreferenceCategory
      app:key="premium_cat"
      app:dependency="enable"
      app:title="Premium"&gt;
  
  
      &lt;SwitchPreferenceCompat
          app:key="premium"
          app:dependency="enable"
          app:summary="Automatically identify spam calls"
          app:title="Real time call alert" /&gt;
  
  &lt;/PreferenceCategory&gt;
  </code></pre>
  
  <p></p>
  
  <p>the problem i have is the i want to add a different background color for the first settings</p>
  
  <pre><code>&lt;SwitchPreferenceCompat
  app:key="enable"
  app:title="@string/sync_title"/&gt;
  </code></pre>
  
  <p>i tried adding a layout but it does not work all it does is hide the <strong>SwitchPreferenceCompat</strong></p>