Skip to content

jakobulbrich/preferences-demo

Repository files navigation

Preferences Demo

The project files of my tutorial series Building an Android Settings Screen - Fixing and Extending the android.support.v7.preference Library on Medium.

Part 1: How to Create and Fix the Overview Screen

Part 2: How to Create and Fix the Dialogs

Part 3: How to Create Custom Preferences

Part 4: How to Use a Custom Layout for the Preference Fragment

Note 1: Google messed up the paddings of the list items with the v24.0.0 version of the support library (on devices below API 21).

Note 2: Google changed the required id for custom layouts for PreferenceFragmentCompat in the update from revision 23.4.0 (R.id.list_container) to 24.0.0 (android.R.id.list_container). Android Studio says that the new id requires API 24, but it also works on older APIs.

About

Project files of my tutorial series

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages