title: PreferenceFragmentCompat Theme issue
body: <p>I'm using PreferenceFragmentCompat for my Preference Page</p>
  
  <pre><code>public class SettingsFragment extends PreferenceFragmentCompat{
  
  
  @Override
  public void onCreatePreferences(Bundle savedInstanceState, String rootKey) {
  
      setPreferencesFromResource(R.xml.pref_page, rootKey);
  
   } }
  </code></pre>
  
  <p>and i'm using this Theme for my Activity which is setting my PreferenceFragmentCompat:</p>
  
  <pre><code>  &lt;style name="SettingsTheme" parent="Theme.AppCompat.Light.DarkActionBar"&gt;
      &lt;item name="android:textColor"&gt;@color/text_color&lt;/item&gt;
      &lt;item name="android:windowBackground"&gt;@color/colorPrimaryDarkBackground&lt;/item&gt;
      &lt;item name="android:textColorPrimary"&gt;@color/text_color&lt;/item&gt;
      &lt;item name="preferenceTheme"&gt;@style/PreferenceThemeOverlay&lt;/item&gt;
  </code></pre>
  
  <p></p>
  
  <p>but my Preference Page looks like this:
  <a href="https://i.stack.imgur.com/oirsy.png" rel="nofollow noreferrer">Preference Page</a></p>
  
  <p>then i added a custom style:</p>
  
  <pre><code> &lt;style name="SettingsTheme" parent="Theme.AppCompat.Light.DarkActionBar"&gt;
      &lt;item name="android:textColor"&gt;@color/text_color&lt;/item&gt;
      &lt;item name="android:windowBackground"&gt;@color/colorPrimaryDarkBackground&lt;/item&gt;
      &lt;item name="android:textColorPrimary"&gt;@color/text_color&lt;/item&gt;
      &lt;item name="preferenceTheme"&gt;@style/PreferenceThemeCustom&lt;/item&gt;
  </code></pre>
  
  <p></p>
  
  <pre><code>&lt;style name="PreferenceThemeCustom" parent="Theme.AppCompat.Light.DarkActionBar"&gt;
      &lt;item name="android:textColor"&gt;@color/text_color&lt;/item&gt;
      &lt;item name="android:windowBackground"&gt;@color/colorPrimaryDarkBackground&lt;/item&gt;
      &lt;item name="android:textColorPrimary"&gt;@color/text_color&lt;/item&gt;
      &lt;item name="android:divider"&gt;@color/text_color&lt;/item&gt;
  &lt;/style&gt;
  </code></pre>
  
  <p>and all was displayed well <a href="https://i.stack.imgur.com/LGN7M.png" rel="nofollow noreferrer">like this</a>
  but when i click on a EditTextPreference i got the following error:</p>
  
  <pre><code>Fatal Exception: java.lang.IllegalStateException: Dialog view must contain an EditText with id @android:id/edit
     at androidx.preference.EditTextPreferenceDialogFragmentCompat.onBindDialogView(EditTextPreferenceDialogFragmentCompat.java:68)
     at androidx.preference.PreferenceDialogFragmentCompat.onCreateDialog(PreferenceDialogFragmentCompat.java:149)
     at androidx.fragment.app.DialogFragment.onGetLayoutInflater(DialogFragment.java:352)
     at androidx.fragment.app.Fragment.performGetLayoutInflater(Fragment.java:1383)
     at androidx.fragment.app.FragmentManagerImpl.moveToState(FragmentManagerImpl.java:887)
     at androidx.fragment.app.FragmentManagerImpl.moveFragmentToExpectedState(FragmentManagerImpl.java:1233)
     at androidx.fragment.app.FragmentManagerImpl.moveToState(FragmentManagerImpl.java:1299)
     at androidx.fragment.app.BackStackRecord.executeOps(BackStackRecord.java:688)
     at androidx.fragment.app.FragmentManagerImpl.executeOps(FragmentManagerImpl.java:2069)
     at androidx.fragment.app.FragmentManagerImpl.executeOpsTogether(FragmentManagerImpl.java:1859)
     at androidx.fragment.app.FragmentManagerImpl.removeRedundantOperationsAndExecute(FragmentManagerImpl.java:1814)
     at androidx.fragment.app.FragmentManagerImpl.execPendingActions(FragmentManagerImpl.java:1721)
  
  at androidx.fragment.app.FragmentManagerImpl$1.run(FragmentManagerImpl.java:147)
         at android.os.Handler.handleCallback(Handler.java:808)
         at android.os.Handler.dispatchMessage(Handler.java:101)
         at android.os.Looper.loop(Looper.java:166)
         at android.app.ActivityThread.main(ActivityThread.java:7529)
         at java.lang.reflect.Method.invoke(Method.java)           
         at com.android.internal.os.Zygote$MethodAndArgsCaller.run                         (Zygote.java:245)
         at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:921)
  </code></pre>
  
  <p>then i tried to define my custom preference style like this:</p>
  
  <pre><code>    &lt;style name="PreferenceThemeCustom" parent="PreferenceThemeOverlay.v14.Material"&gt;
      &lt;item name="android:textColor"&gt;@color/text_color&lt;/item&gt;
      &lt;item name="android:windowBackground"&gt;@color/colorPrimaryDarkBackground&lt;/item&gt;
      &lt;item name="android:textColorPrimary"&gt;@color/text_color&lt;/item&gt;
      &lt;item name="android:divider"&gt;@color/text_color&lt;/item&gt;
  &lt;/style&gt;
  </code></pre>
  
  <p>But setting parent="PreferenceThemeOverlay.v14.Material" caused this problem again: <a href="https://i.stack.imgur.com/oirsy.png" rel="nofollow noreferrer">Preference Page</a></p>