summaryrefslogtreecommitdiff
path: root/samples/ApiDemos/src/com/example/android/apis/preference/PreferencesFromCode.java
Commit message (Collapse)AuthorAgeFilesLines
* Align "from code" parent-child preference flow with "from XML"Joseph Judistira2012-10-121-7/+8
| | | | | | | | Add setDependency() call to make "from code" parent-child behavior matched the "from XML" one. Change-Id: I9e19a8bd16f69fb3101928831831103719a03a04 Signed-off-by: Joseph Judistira <joseph.judistira@gmail.com>
* Add SwitchPreference demo in ApiDemos.Adam Powell2011-06-211-8/+16
| | | | | | | Renamed toggle to Checkbox. Update to trigger build queue recompilation. Change-Id: Ie7800b5e41e86f8182bb550da869ccb316cbeb91
* Add new sample for multi-pane PreferenceActivity.Dianne Hackborn2010-08-031-0/+143
Also re-arrange all preference API demos to go in their own package, since the preferfence APIs themselves are in their own package. Change-Id: I305f77dc09748bb60d1de8a23d063db64c11bb1e