Up next

Android tutorial (2018) - 79 - Create Simple App Settings Page Using Preference API

4 Views· 14 Aug 2019
ITCOURSES
ITCOURSES
5 subscribers
0

In some situation your app needs a settings page. For example you can allow user to change Theme of your app and you can allow the user to enable or disable notifications from the app itself. All these cases you have to create a separate settings activity for your app.

Android Framework contains an API called Preferences that allow you to create app settings page without using any view widgets. Preferences API uses objects of its sub classes for creating each settings item.

Example
CheckBoxPreference
ListPreference

You can user Preferences Activity or PreferenceFragment for creating App settings. Recommended way is to use PreferenceFragment.

In this video we learn about how to create a simple settings layout using Preferences Objects.

Like my Facebook page : https://www.facebook.com/codeglympse
Subscribe My YouTube channel : http://www.youtube.com/ticoontechnologies

Show more
100% online learning from the world's best universities, organisations and Instructors

 0 Comments sort   Sort By


Up next