Nested preferences.xml
android, android-preferences, include, nested, preferences
Solution
Solution here it is to inflate both preference files from PreferencesActivity. For example:
addPreferencesFromResource(R.xml.options);
addPreferencesFromResource(R.xml.additional_options);
Problem
Is it somehow possible to include one `preferences.xml` into another, like it can be done for layouts with the `<include />` tag? Let's say: ``` <?xml version="1.0" encoding="utf-8"?> <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"> <PreferenceScreen android:title="@string/pref_group_title_visual"> <include preferences_filename="xml/pref_visual"/> </PreferenceScreen> ... ```