... public class Settings Activity Fragment extends Preference Fragment left brace. Line 9, indented once. forward slash forward slash creates preferences G U I from preferences period x m l file in r e s forward slash x m l. Line 10, indented once. at sign Override. Line 11, indented once. public void on Create left parenthesis Bundle bundle right parenthesis left brace. Line 12, indented twice. super period on Create left parenthesis bundle right parenthesis semicolon. Line 13, indented twice. add Preferences From Resource left parenthesis R period x m l period preferences right parenthesis semicolon forward slash forward slash load from X M L. Line 13 is highlighted. Line 14, indented once. right brace. Line 15. right brace.


 1   // SettingsActivityFragment.java ...

Get Android How to Program, 3/e now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.