summaryrefslogtreecommitdiff
path: root/samples/ApiDemos/src/com/example/android/apis/preference
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>
* Move switch preference into its own demo.Dianne Hackborn2011-11-144-13/+63
| | | | | | | | | | | This avoids everything breaking on pre-ICS platforms. Also get rid of pref initialization in Application. I hate that. Hate hate hate. Hate. Totally hate. Totally. Change-Id: Idb3526a96eb2dff49f9de8e5ae71149cb4ed6e96
* Add SwitchPreference demo in ApiDemos.Adam Powell2011-06-211-8/+16
| | | | | | | Renamed toggle to Checkbox. Update to trigger build queue recompilation. Change-Id: Ie7800b5e41e86f8182bb550da869ccb316cbeb91
* Follow API changes.Dianne Hackborn2011-01-171-1/+1
| | | | Change-Id: Ieb1df7fc0708f22aae3d851f74ade1343eb44e08
* Update preference samples.Dianne Hackborn2010-08-262-53/+19
| | | | Change-Id: Ia78d9c0f4f7e58f500aef55413b911904d0c40cd
* Update to follow fragment API changes.Dianne Hackborn2010-08-151-0/+7
| | | | | | Also make use of fragment arguments and targets to simplify code. Change-Id: I79884854f4c7ff4fdc35c68087b5b2235a75c79f
* Cleanup fragment api demosAndrew Stadler2010-08-031-0/+4
| | | | | | | | | * Cleaned up extra whitespace & made vertical whitespace more consistent * 100col wrap * Remove unused imports * Add @Override where necessary Change-Id: I1ad404ffc4ce7fa9c4b661f7cc1783c86356316b
* Update preference example to show switching with fragments.Dianne Hackborn2010-08-032-1/+195
| | | | Change-Id: I2b1db31b5e1a0e83d843ad68b0a177048d2914f4
* Add new sample for multi-pane PreferenceActivity.Dianne Hackborn2010-08-038-0/+613
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