Skip to content

Releases: michael-rapp/AndroidPreferenceActivity

Version 1.1.2

20 Oct 21:31

Choose a tag to compare

A bugfix release, which fixes the following issue:

Version 1.1.1

20 Oct 21:31

Choose a tag to compare

A minor release, which provides the following changes:

  • Added a black list to the class PreferenceFragment, which allows to specify the keys of the preferences, whose default values should not be restored.

Version 1.1.0

20 Oct 21:30

Choose a tag to compare

A feature release, which introduces the following functionalities:

  • The library does now provide a class, which is extended from the Android SDK's built-in PreferenceFragment. This class allows to show a button, which may be used to restore the default values of the fragment's prefe

Version 1.0.1

20 Oct 21:30

Choose a tag to compare

A minor release, which provides the following changes:

  • Added a public inner class, which implements the interface android.os.parcelable.Creator to the class PreferenceHeader in order to allow creating instances from a Parcel.
  • Prepared for Android 5.0 (API level 21).

Version 1.0.0

20 Oct 21:30

Choose a tag to compare

The first stable release, which provides an activity, an alternative implementation of the Android SDK's built-in PreferenceActivity. The implementation initially provides the following features:

  • The activity's navigation allows to show preference headers, which categorize the preferences of a PreferenceFragment. Furthermore, regular Fragments can be shown. Besides a title, the preference headers may contain an icon and a summary and it is possible to launch an intent when a header is selected.
  • The activity's preference headers can be defined via XML resources, which are compatible to the ones used to initialize the Android SDK's built-in PreferenceActivity. Alternatively, the preference headers can be added or removed dynamically at runtime, which causes the current selected preference header to be adapted automatically.
  • The activity provides methods, which easily allow to access its child views in order to manipulate their appearance. For the most common manipulations even dedicated methods are provided.
  • The library allows to override the behavior of the action bar's back button in order to use it for navigating on devices with a small screen.
  • It is possible to launch the activity using an intent, which specifies the preference header, which should be initially selected. Such an intent also allows to hide the navigation.
  • By specifying appropriate intent extras, it is also possible to use the activity as a wizard, which provides an alternative navigation, which allows to navigate from one step of the wizard to an other. The navigation can be observed and influenced by implementing and registering an appropriate listener.
  • The activity is visually-consistent with Android's built-in PreferenceActivity.