History log of /development/samples/NotePad/src/com/example/android/notepad/TitleEditor.java
Revision Date Author Comments
a00a0e7f7de72883f6f1523e989a7c1d18ac53b7 29-Nov-2010 Scott Main <smain@google.com> This is a manual merge of Ib7ea41079f3b268f3be1f86febdb1caed98bdd8e
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
875234d9405358569599a203678a36f042aa6489 20-Oct-2010 Scott Main <smain@google.com> Do not merge.
This is a cherry-pick from froyo change I392406824607e2bdae646e3156433d82a9ed6521
Revise NotePad application to use better practices such as
- 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.
- and probably others

Change-Id: I5e6fa5315308edf1a9447ecadd5b289127776bd0
05523fb0b48280a5364908b00768ec71edb847a2 20-Oct-2010 Scott Main <smain@google.com> Do not merge.
Revise NotePad application to use better practices such as
- 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.
- and probably others

Change-Id: Ib7ea41079f3b268f3be1f86febdb1caed98bdd8e
390d67679cf568141e9ee135a60132d8f4ffa3f0 25-Sep-2010 Joe Malin <jmalin@google.com> Samples: Fix bugs in Note Pad sample app.

Change-Id: I859cbc73eaaa77a9ff89484f33c7150d76a4e2c2
f82564473f7067348f89a49917200d5f523c6259 29-Sep-2010 Joe Malin <jmalin@google.com> Samples: Fix bugs in Note Pad sample app.

Change-Id: Iacb22efa30d3627dba5a5f91151da5c75722715e
88bcee2e891c5551d9db7c50572c1aa9aa0d6839 25-Aug-2010 Joe Malin <jmalin@google.com> Note Pad: merged jmalin and hackbod chgs

Change-Id: Ica0fff191b806981bdca05977174a6ed3bb6d9f1
70b1869f383179f87d4db7ff237c80595458fd2d 10-Aug-2010 Joe Malin <jmalin@google.com> Revert "Revised Note Pad sample, new test app for Note Pad"

This reverts commit 4124e0a1f07e4e54c37b0cfbb1b7438806ff02a6.
4124e0a1f07e4e54c37b0cfbb1b7438806ff02a6 08-Jun-2010 Joe Malin <jmalin@google.com> Revised Note Pad sample, new test app for Note Pad

Change-Id: Ia41a33d935ead704c1de439a0cfb0a55806cfe12
52d4c30ca52320ec92d1d1ddc8db3f07f69c4f98 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
d4aee0c0caa00aa02d4c50ed28151591ac0456b5 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
5c11852110eeb03dc5a69111354b383f98d15336 21-Oct-2008 The Android Open Source Project <initial-contribution@android.com> Initial Contribution