补充一下安卓官方的建议:
If you're developing for Android 3.0 (API level 11) and higher, you should use a PreferenceFragment to display your list of Preference objects. You can add a PreferenceFragment to any activity—you don't need to use PreferenceActivity.
https://developer.android.com/guide/topics/ui/settings.html#Fragment
Android学习笔记1 PreferenceActivity和PreferenceFragment实现设置界面前言 我们在进行Android开发的过程中,有时需要实现一个设置界面,就像下面的系统的显示设置。这样的界面自己实现起来略显繁琐,好在Android中已经实现了这样的设置界面,...