Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ferrannp committed May 18, 2015
1 parent 937bfb7 commit ce4738c
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,11 @@ public class SettingsActivity extends com.fnp.materialpreferences.PreferenceActi
super.onCreate(savedInstanceState);

/**
* Optional, we load a PreferenceFragment which is
* the recommended way by Android
* We load a PreferenceFragment which is the recommended way by Android
* see @http://developer.android.com/guide/topics/ui/settings.html#Fragment
* @TargetApi(11)
*/
loadFragment(new MyPreferenceFragment());
setPreferenceFragment(new MyPreferenceFragment());
}

public static class MyPreferenceFragment extends com.fnp.materialpreferences.PreferenceFragment {
Expand Down Expand Up @@ -53,7 +52,7 @@ public class SettingsActivity extends com.fnp.materialpreferences.PreferenceActi
<img src=assets/result-1.png width=500 height=845 />

## TODO
- ~~Add toolbar to PreferenceActivity with optional title~~
- ~~Add toolbar to all PreferenceFragment (including nested screens) ~~
- ~~Proper tint based on accent color~~
- ~~Show title and summary of the preferences in Material format~~
- ~~Proper paddings and margins~~
Expand Down

0 comments on commit ce4738c

Please sign in to comment.