HDTutorial
EN

Playback starts YouTube’s embedded player (privacy-enhanced mode).

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

52,597 views November 9, 2018 16:19

Watch on YouTube
ChannelPRABEESH R K

Description from the creator

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 : facebook.com/codeglympse
Subscribe My YouTube channel : youtube.com/ticoontechnologies

About this tutorial

PRABEESH R K published this 16:19 video tutorial on November 9, 2018. It has been watched 52,597 times on YouTube.

Category
Education
Duration
16:19
Published
November 9, 2018
Views
52,597
Likes
431

Tags

Share

This tutorial in other languages