O'Reilly logo

Reactive Android Programming by Tadas Subonis

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating UI for Settings

Since the Settings class is now ready, and it is possible to retrieve saved values, it is time to create a UI to change those settings.

For this, we will use a built-in interface from Android that relies on SettingsFragment and preferences XML. The planned activity will be reachable from the MainActivity using the options menu.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required