From a7178809f6aecff7c4e3ae3374b7cba5adc692bf Mon Sep 17 00:00:00 2001 From: Roman Nurik Date: Mon, 23 Nov 2009 17:11:04 -0500 Subject: [PATCH] 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! --- samples/NotePad/AndroidManifest.xml | 27 +++++--- samples/NotePad/_index.html | 1 + .../res/drawable-hdpi-v6/app_notes.png | Bin 0 -> 3941 bytes .../drawable-hdpi-v6/live_folder_notes.png | Bin 0 -> 4871 bytes .../res/drawable-ldpi-v6/app_notes.png | Bin 0 -> 1466 bytes .../drawable-ldpi-v6/live_folder_notes.png | Bin 0 -> 1865 bytes .../res/drawable-mdpi-v6/app_notes.png | Bin 0 -> 2093 bytes .../drawable-mdpi-v6/live_folder_notes.png | Bin 0 -> 2664 bytes .../res/drawable-mdpi/live_folder_notes.png | Bin 0 -> 2900 bytes samples/NotePad/res/values/strings.xml | 1 + .../android/notepad/NotePadProvider.java | 20 +++++- .../android/notepad/NotesLiveFolder.java | 65 ++++++++++++++++++ 12 files changed, 104 insertions(+), 10 deletions(-) create mode 100644 samples/NotePad/res/drawable-hdpi-v6/app_notes.png create mode 100644 samples/NotePad/res/drawable-hdpi-v6/live_folder_notes.png create mode 100644 samples/NotePad/res/drawable-ldpi-v6/app_notes.png create mode 100644 samples/NotePad/res/drawable-ldpi-v6/live_folder_notes.png create mode 100644 samples/NotePad/res/drawable-mdpi-v6/app_notes.png create mode 100644 samples/NotePad/res/drawable-mdpi-v6/live_folder_notes.png create mode 100644 samples/NotePad/res/drawable-mdpi/live_folder_notes.png create mode 100644 samples/NotePad/src/com/example/android/notepad/NotesLiveFolder.java diff --git a/samples/NotePad/AndroidManifest.xml b/samples/NotePad/AndroidManifest.xml index 5c56dafa9..04f4dbee5 100644 --- a/samples/NotePad/AndroidManifest.xml +++ b/samples/NotePad/AndroidManifest.xml @@ -4,9 +4,9 @@ Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at - + http://www.apache.org/licenses/LICENSE-2.0 - + Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. @@ -47,7 +47,7 @@ - + - - + +