I have a PreferenceFragmentCompat that I populate with a call to:
setPreferencesFromResource(R.xml.settings, rootKey);
After this I have a screen with editable text and checkboxes and what not. Is it possible to add a inner PreferenceScreen after this? I have tried using addPreferencesFromResource(R.xml.additional_settings) and constructing a new PreferenceScreen in code, but I always end up with a error stating that the newly added preference element is not a PreferenceScreen. I am able to add EditTextPreferences and such, but PreferenceScreen is giving me trouble.
I am using appcompat.