Commit Graph

17 Commits

Author SHA1 Message Date
Nasir Khan
3468e63e12 Update the Notepad sample app to:
1. Show that any application state should be saved in onStop() versus
   onPause().
2. Remove the deprecated methods and start using CursorLoader instead
   of any managedQuery.
3. Remove deprecated LiveFolders usage.

Change-Id: I65be6b91ee1d4d0980494fb8455ce0906691dc21
2016-11-28 15:03:26 -08:00
Scott Main
f43f31761a am 44a6ed7b: Merge "change notepad min sdk version to 11 and adjust action item appearance" into honeycomb
* commit '44a6ed7b3ff5080dc18f821d83852e331d7a3891':
  change notepad min sdk version to 11 and adjust action item appearance
2011-01-27 15:07:01 -08:00
Scott Main
29ecb2f11d change notepad min sdk version to 11 and adjust action item appearance
Change-Id: I5385067b2720ebb053565cadcfe725103165abb8
2011-01-27 14:58:55 -08:00
Scott Main
ad60decc9d resolved conflicts for merge of c8e12573 to honeycomb-plus-aosp
Change-Id: I2ee1cb90df9617e470aec99671a05d99939f30f2
2011-01-12 16:31:35 -08:00
Scott Main
a00a0e7f7d 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
2010-12-02 12:09:38 -08:00
Scott Main
b24dbcefc4 update notepad menu icons with new styles for GB (20% smaller)
Change-Id: Ie5b9e42d56688558e9e3220bb15729d5142775ba
2010-11-29 11:56:03 -08:00
Scott Main
875234d940 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
2010-10-21 12:46:04 -07:00
Joe Malin
70b1869f38 Revert "Revised Note Pad sample, new test app for Note Pad"
This reverts commit 4124e0a1f0.
2010-08-09 17:18:13 -07:00
Joe Malin
4124e0a1f0 Revised Note Pad sample, new test app for Note Pad
Change-Id: Ia41a33d935ead704c1de439a0cfb0a55806cfe12
2010-08-09 15:30:01 -07:00
Dianne Hackborn
4779ab6f9a Update NotePad to support copying of an entire note to the clipboard.
Change-Id: Icbda36dcdb98d53395af1570e161dad727146f93
2010-08-08 18:38:49 -07:00
Romain Guy
74192eafec Deprecate fill_parent and introduce match_parent.
Bug: #2361749.
2010-01-08 15:11:18 -08:00
Roman Nurik
a7178809f6 Fresh new change for:
Add Live Folder support to NotePad sample, and add new icons for the app and Live Folder (separate for Donut and Eclair).

Previous change 33290 was screwed up.

Xav, please pardon a repo newbie!
2009-11-23 17:12:19 -05:00
Daniel Sandler
75ab82e25f hdpi artwork for development/{apps,samples}.
(drop dated 29-Sep-2009)

Change-Id: Ie022d478ed4eafc641e475dad94f507a6c358595
2009-09-29 20:41:24 -04:00
The Android Open Source Project
52d4c30ca5 auto import from //depot/cupcake/@135843 2009-03-03 19:29:09 -08:00
The Android Open Source Project
d4aee0c0ca auto import from //depot/cupcake/@135843 2009-03-03 18:28:16 -08:00
The Android Open Source Project
e943f2fd8e Code drop from //branches/cupcake/...@124589 2008-12-17 18:04:04 -08:00
The Android Open Source Project
5c11852110 Initial Contribution 2008-10-21 07:00:00 -07:00