How to use the v7/v14 Preference Support library?
You have to extend AppCompatActivity, which is required for fragment, and include a subclass of PreferenceFragmentCompat. The abstract fragment requires to override one method, in which you should place your preference inflation logic. And last, your activity theme needs to specify a preferenceTheme attribute. Read the announcement here. With preference-v7 library you can replace PreferenceFragment … Read more