summaryrefslogtreecommitdiff
path: root/samples/NotePad/src/com/example/android/notepad/NoteEditor.java
Commit message (Collapse)AuthorAgeFilesLines
* Follow API changes.Dianne Hackborn2011-01-171-1/+1
| | | | Change-Id: Ieb1df7fc0708f22aae3d851f74ade1343eb44e08
* This is a manual merge of Ib7ea41079f3b268f3be1f86febdb1caed98bdd8eScott Main2010-12-021-160/+109
| | | | | | | | | | | | | | | | | | | | | | Which includes the following: - inflating menus from XML and supporting API Level 3 without the need for version qualifiers on resource directories. - to NOT include items in the options menu based on the 'selected' item (that's what a context menu is for). - include all drawables in the app, instead of using system resources. Add features: - the ability to edit the note title through the context menu - disable menu items in the editor based on menu groups - add a "save" button to the editor instead of assuming BACK functionality - and show the title of the current note in the activity title. Plus, this change adds Holo themes and items to the action bar. And fix a bug in NoteEditor: the constants used for the column indexes caused the title and note text to be saved incorrectly---removed them and instead perform column index lookup on the notes cursor. Change-Id: I6e7a693a35f5dc2da423982869dd871c4c171e5b
* Update to follow clipboard APIs.Dianne Hackborn2010-08-271-3/+3
| | | | Change-Id: I905a499f2697bea218b6d4c3f8ec339fbe52c916
* Note Pad: merged jmalin and hackbod chgsJoe Malin2010-08-241-99/+353
| | | | Change-Id: Ica0fff191b806981bdca05977174a6ed3bb6d9f1
* Revert "Revised Note Pad sample, new test app for Note Pad"Joe Malin2010-08-091-376/+179
| | | | This reverts commit 4124e0a1f07e4e54c37b0cfbb1b7438806ff02a6.
* Revised Note Pad sample, new test app for Note PadJoe Malin2010-08-091-179/+376
| | | | Change-Id: Ia41a33d935ead704c1de439a0cfb0a55806cfe12
* Update NotePad to support copying of an entire note to the clipboard.Dianne Hackborn2010-08-081-31/+97
| | | | Change-Id: Icbda36dcdb98d53395af1570e161dad727146f93
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-0/+347
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-347/+0
|
* Initial ContributionThe Android Open Source Project2008-10-211-0/+347