Implement ExperimentalFragment in settings

This commit is contained in:
SerpentSpirale 2021-11-02 21:46:33 +01:00
parent 6a64b80191
commit ae8a067a20
2 changed files with 14 additions and 1 deletions

View File

@ -0,0 +1,13 @@
package net.kdt.pojavlaunch.prefs.screens;
import android.os.Bundle;
import net.kdt.pojavlaunch.R;
public class LauncherPreferenceExperimentalFragment extends LauncherPreferenceFragment {
@Override
public void onCreatePreferences(Bundle b, String str) {
addPreferencesFromResource(R.xml.pref_experimental);
}
}

View File

@ -33,7 +33,7 @@
android:key="experimental_screen_setting"
android:title="Experimental Stuff"
android:summary="Use things there with consideration, no support."
android:fragment="net.kdt.pojavlaunch.prefs.screens.LauncherPreferenceMiscellaneousFragment"
android:fragment="net.kdt.pojavlaunch.prefs.screens.LauncherPreferenceExperimentalFragment"
/>
</PreferenceScreen>