I just noticed the fact that the method addPreferencesFromResource(int preferencesResId)
is marked deprecated in Android’s documentation (Reference Entry).
Unfortunately, no alternative method is provided in the method’s description.
Which method should be used instead in order to connect a preferenceScreen.xml to the matching PreferenceActivity?