diff --git a/Notes/.gradle/5.4.1/executionHistory/executionHistory.bin b/Notes/.gradle/5.4.1/executionHistory/executionHistory.bin
index d3b8525..161d7b7 100644
Binary files a/Notes/.gradle/5.4.1/executionHistory/executionHistory.bin and b/Notes/.gradle/5.4.1/executionHistory/executionHistory.bin differ
diff --git a/Notes/.gradle/5.4.1/executionHistory/executionHistory.lock b/Notes/.gradle/5.4.1/executionHistory/executionHistory.lock
index 935dd24..24184d4 100644
Binary files a/Notes/.gradle/5.4.1/executionHistory/executionHistory.lock and b/Notes/.gradle/5.4.1/executionHistory/executionHistory.lock differ
diff --git a/Notes/.gradle/5.4.1/fileHashes/fileHashes.bin b/Notes/.gradle/5.4.1/fileHashes/fileHashes.bin
index ca6645d..d5ba802 100644
Binary files a/Notes/.gradle/5.4.1/fileHashes/fileHashes.bin and b/Notes/.gradle/5.4.1/fileHashes/fileHashes.bin differ
diff --git a/Notes/.gradle/5.4.1/fileHashes/fileHashes.lock b/Notes/.gradle/5.4.1/fileHashes/fileHashes.lock
index 14c2b09..d5642e5 100644
Binary files a/Notes/.gradle/5.4.1/fileHashes/fileHashes.lock and b/Notes/.gradle/5.4.1/fileHashes/fileHashes.lock differ
diff --git a/Notes/.gradle/5.4.1/javaCompile/classAnalysis.bin b/Notes/.gradle/5.4.1/javaCompile/classAnalysis.bin
index 09c8070..7b2411a 100644
Binary files a/Notes/.gradle/5.4.1/javaCompile/classAnalysis.bin and b/Notes/.gradle/5.4.1/javaCompile/classAnalysis.bin differ
diff --git a/Notes/.gradle/5.4.1/javaCompile/javaCompile.lock b/Notes/.gradle/5.4.1/javaCompile/javaCompile.lock
index ff376a7..4fbe98a 100644
Binary files a/Notes/.gradle/5.4.1/javaCompile/javaCompile.lock and b/Notes/.gradle/5.4.1/javaCompile/javaCompile.lock differ
diff --git a/Notes/.gradle/buildOutputCleanup/buildOutputCleanup.lock b/Notes/.gradle/buildOutputCleanup/buildOutputCleanup.lock
index a833888..2252c43 100644
Binary files a/Notes/.gradle/buildOutputCleanup/buildOutputCleanup.lock and b/Notes/.gradle/buildOutputCleanup/buildOutputCleanup.lock differ
diff --git a/Notes/.idea/workspace.xml b/Notes/.idea/workspace.xml
index 70d982b..592f4de 100644
--- a/Notes/.idea/workspace.xml
+++ b/Notes/.idea/workspace.xml
@@ -15,173 +15,60 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
-
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
-
+
+
+
-
-
-
-
+
+
+
@@ -203,61 +90,76 @@
-
-
-
-
-
-
+
-
-
+
+
-
+
-
-
+
+
-
-
+
+
+
+
+
+
+
-
-
+
+
-
-
-
-
-
-
-
-
+
+
+
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -272,11 +174,16 @@
-
+
+
+
+
+
+
@@ -293,6 +200,8 @@
+
+
@@ -316,24 +225,26 @@
-
+
-
+
+
+
-
-
+
+
+
-
@@ -341,31 +252,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -374,8 +260,6 @@
-
-
@@ -475,7 +359,7 @@
-
+
@@ -490,56 +374,17 @@
-
-
-
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -565,51 +410,33 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
-
+
-
+
-
+
-
+
-
+
-
-
-
-
@@ -633,80 +460,170 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
+
+
+
+
+
+
+
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
+
+
+
+
+
+
+
+
+
+
+
-
+
-
+
+
+
+
+
-
-
+
+
+
-
-
+
+
+
-
-
+
+
+
-
-
+
+
+
-
+
-
-
+
+
-
-
+
-
-
+
+
-
-
-
+
+
+
+
-
-
-
-
-
-
-
-
+
+
+
-
+
-
-
+
+
diff --git a/Notes/app/build/intermediates/bundle_manifest/debug/processDebugManifest/bundle-manifest/AndroidManifest.xml b/Notes/app/build/intermediates/bundle_manifest/debug/processDebugManifest/bundle-manifest/AndroidManifest.xml
index 78d2daf..ed3ecfc 100644
--- a/Notes/app/build/intermediates/bundle_manifest/debug/processDebugManifest/bundle-manifest/AndroidManifest.xml
+++ b/Notes/app/build/intermediates/bundle_manifest/debug/processDebugManifest/bundle-manifest/AndroidManifest.xml
@@ -57,7 +57,7 @@
android:name="net.micode.notes.ui.NoteEditActivity"
android:configChanges="keyboardHidden|orientation|screenSize"
android:launchMode="singleTop"
- android:theme="@style/NoteTheme" >
+ android:theme="@style/Theme.AppCompat.Light.DarkActionBar" >
diff --git a/Notes/app/build/intermediates/dex/debug/mergeDexDebug/out/classes.dex b/Notes/app/build/intermediates/dex/debug/mergeDexDebug/out/classes.dex
index 6f2d7bb..3f115e7 100644
Binary files a/Notes/app/build/intermediates/dex/debug/mergeDexDebug/out/classes.dex and b/Notes/app/build/intermediates/dex/debug/mergeDexDebug/out/classes.dex differ
diff --git a/Notes/app/build/intermediates/incremental/packageDebug/tmp/debug/dex-renamer-state.txt b/Notes/app/build/intermediates/incremental/packageDebug/tmp/debug/dex-renamer-state.txt
index 3bac857..9896184 100644
--- a/Notes/app/build/intermediates/incremental/packageDebug/tmp/debug/dex-renamer-state.txt
+++ b/Notes/app/build/intermediates/incremental/packageDebug/tmp/debug/dex-renamer-state.txt
@@ -1,4 +1,4 @@
-#Wed May 10 13:54:58 CST 2023
+#Thu May 11 15:10:59 CST 2023
base.0=D\:\\14th\\14th\\Notes\\app\\build\\intermediates\\dex\\debug\\mergeDexDebug\\out\\classes.dex
path.0=classes.dex
renamed.0=classes.dex
diff --git a/Notes/app/build/intermediates/incremental/packageDebug/tmp/debug/zip-cache/rhSnPbol5vBtaDsKDuW8VD_T71Q= b/Notes/app/build/intermediates/incremental/packageDebug/tmp/debug/zip-cache/rhSnPbol5vBtaDsKDuW8VD_T71Q=
index f090375..aa49a41 100644
Binary files a/Notes/app/build/intermediates/incremental/packageDebug/tmp/debug/zip-cache/rhSnPbol5vBtaDsKDuW8VD_T71Q= and b/Notes/app/build/intermediates/incremental/packageDebug/tmp/debug/zip-cache/rhSnPbol5vBtaDsKDuW8VD_T71Q= differ
diff --git a/Notes/app/build/intermediates/instant_app_manifest/debug/AndroidManifest.xml b/Notes/app/build/intermediates/instant_app_manifest/debug/AndroidManifest.xml
index 734f2bf..3ba1786 100644
--- a/Notes/app/build/intermediates/instant_app_manifest/debug/AndroidManifest.xml
+++ b/Notes/app/build/intermediates/instant_app_manifest/debug/AndroidManifest.xml
@@ -58,7 +58,7 @@
android:name="net.micode.notes.ui.NoteEditActivity"
android:configChanges="keyboardHidden|orientation|screenSize"
android:launchMode="singleTop"
- android:theme="@style/NoteTheme" >
+ android:theme="@style/Theme.AppCompat.Light.DarkActionBar" >
diff --git a/Notes/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NoteEditActivity$1.class b/Notes/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NoteEditActivity$1.class
index d879e16..a6b9c32 100644
Binary files a/Notes/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NoteEditActivity$1.class and b/Notes/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NoteEditActivity$1.class differ
diff --git a/Notes/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NoteEditActivity$2.class b/Notes/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NoteEditActivity$2.class
index b789f1d..98ab1b5 100644
Binary files a/Notes/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NoteEditActivity$2.class and b/Notes/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NoteEditActivity$2.class differ
diff --git a/Notes/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NoteEditActivity$3.class b/Notes/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NoteEditActivity$3.class
index 866ec31..293d967 100644
Binary files a/Notes/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NoteEditActivity$3.class and b/Notes/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NoteEditActivity$3.class differ
diff --git a/Notes/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NoteEditActivity$HeadViewHolder.class b/Notes/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NoteEditActivity$HeadViewHolder.class
index 5bd5d69..d3872a6 100644
Binary files a/Notes/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NoteEditActivity$HeadViewHolder.class and b/Notes/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NoteEditActivity$HeadViewHolder.class differ
diff --git a/Notes/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NoteEditActivity.class b/Notes/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NoteEditActivity.class
index 0c770b6..030e4e0 100644
Binary files a/Notes/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NoteEditActivity.class and b/Notes/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NoteEditActivity.class differ
diff --git a/Notes/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NotesListActivity$ListEditState.class b/Notes/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NotesListActivity$ListEditState.class
index 80a10fc..3b8e214 100644
Binary files a/Notes/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NotesListActivity$ListEditState.class and b/Notes/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NotesListActivity$ListEditState.class differ
diff --git a/Notes/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NotesListActivity.class b/Notes/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NotesListActivity.class
index 1d5b63c..42e8979 100644
Binary files a/Notes/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NotesListActivity.class and b/Notes/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NotesListActivity.class differ
diff --git a/Notes/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NotesListAdapter.class b/Notes/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NotesListAdapter.class
index c161d09..d889729 100644
Binary files a/Notes/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NotesListAdapter.class and b/Notes/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NotesListAdapter.class differ
diff --git a/Notes/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NotesListItem.class b/Notes/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NotesListItem.class
index 97cf6de..8f721c9 100644
Binary files a/Notes/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NotesListItem.class and b/Notes/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NotesListItem.class differ
diff --git a/Notes/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NotesPreferenceActivity$1.class b/Notes/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NotesPreferenceActivity$1.class
index 5bff5a4..e781af0 100644
Binary files a/Notes/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NotesPreferenceActivity$1.class and b/Notes/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NotesPreferenceActivity$1.class differ
diff --git a/Notes/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NotesPreferenceActivity$2.class b/Notes/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NotesPreferenceActivity$2.class
index 88c3a02..bac0426 100644
Binary files a/Notes/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NotesPreferenceActivity$2.class and b/Notes/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NotesPreferenceActivity$2.class differ
diff --git a/Notes/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NotesPreferenceActivity$3.class b/Notes/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NotesPreferenceActivity$3.class
index 732b6aa..afd67a4 100644
Binary files a/Notes/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NotesPreferenceActivity$3.class and b/Notes/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NotesPreferenceActivity$3.class differ
diff --git a/Notes/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NotesPreferenceActivity$4.class b/Notes/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NotesPreferenceActivity$4.class
index 1e3e0f7..ff73ae6 100644
Binary files a/Notes/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NotesPreferenceActivity$4.class and b/Notes/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NotesPreferenceActivity$4.class differ
diff --git a/Notes/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NotesPreferenceActivity$5.class b/Notes/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NotesPreferenceActivity$5.class
index b8f887a..540f157 100644
Binary files a/Notes/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NotesPreferenceActivity$5.class and b/Notes/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NotesPreferenceActivity$5.class differ
diff --git a/Notes/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NotesPreferenceActivity$6.class b/Notes/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NotesPreferenceActivity$6.class
index 282522d..d4b27c6 100644
Binary files a/Notes/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NotesPreferenceActivity$6.class and b/Notes/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NotesPreferenceActivity$6.class differ
diff --git a/Notes/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NotesPreferenceActivity$7.class b/Notes/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NotesPreferenceActivity$7.class
index 01a4267..87cec01 100644
Binary files a/Notes/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NotesPreferenceActivity$7.class and b/Notes/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NotesPreferenceActivity$7.class differ
diff --git a/Notes/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NotesPreferenceActivity$8.class b/Notes/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NotesPreferenceActivity$8.class
index b4d341e..a5d450c 100644
Binary files a/Notes/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NotesPreferenceActivity$8.class and b/Notes/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NotesPreferenceActivity$8.class differ
diff --git a/Notes/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NotesPreferenceActivity$GTaskReceiver.class b/Notes/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NotesPreferenceActivity$GTaskReceiver.class
index a4429ad..31f7401 100644
Binary files a/Notes/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NotesPreferenceActivity$GTaskReceiver.class and b/Notes/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NotesPreferenceActivity$GTaskReceiver.class differ
diff --git a/Notes/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NotesPreferenceActivity.class b/Notes/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NotesPreferenceActivity.class
index 574e311..3cf14b8 100644
Binary files a/Notes/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NotesPreferenceActivity.class and b/Notes/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NotesPreferenceActivity.class differ
diff --git a/Notes/app/build/intermediates/manifest_merge_blame_file/debug/manifest-merger-blame-debug-report.txt b/Notes/app/build/intermediates/manifest_merge_blame_file/debug/manifest-merger-blame-debug-report.txt
index 212d51c..5ff0f2a 100644
--- a/Notes/app/build/intermediates/manifest_merge_blame_file/debug/manifest-merger-blame-debug-report.txt
+++ b/Notes/app/build/intermediates/manifest_merge_blame_file/debug/manifest-merger-blame-debug-report.txt
@@ -98,8 +98,8 @@
58-->D:\14th\14th\Notes\app\src\main\AndroidManifest.xml:54:13-74
59 android:launchMode="singleTop"
59-->D:\14th\14th\Notes\app\src\main\AndroidManifest.xml:55:13-43
-60 android:theme="@style/NoteTheme" >
-60-->D:\14th\14th\Notes\app\src\main\AndroidManifest.xml:56:13-45
+60 android:theme="@style/Theme.AppCompat.Light.DarkActionBar" >
+60-->D:\14th\14th\Notes\app\src\main\AndroidManifest.xml:56:13-71
61
61-->D:\14th\14th\Notes\app\src\main\AndroidManifest.xml:58:13-64:29
61-->D:\14th\14th\Notes\app\src\main\AndroidManifest.xml:58:28-49
diff --git a/Notes/app/build/intermediates/merged_manifests/debug/AndroidManifest.xml b/Notes/app/build/intermediates/merged_manifests/debug/AndroidManifest.xml
index 78d2daf..ed3ecfc 100644
--- a/Notes/app/build/intermediates/merged_manifests/debug/AndroidManifest.xml
+++ b/Notes/app/build/intermediates/merged_manifests/debug/AndroidManifest.xml
@@ -57,7 +57,7 @@
android:name="net.micode.notes.ui.NoteEditActivity"
android:configChanges="keyboardHidden|orientation|screenSize"
android:launchMode="singleTop"
- android:theme="@style/NoteTheme" >
+ android:theme="@style/Theme.AppCompat.Light.DarkActionBar" >
diff --git a/Notes/app/build/intermediates/processed_res/debug/processDebugResources/out/resources-debug.ap_ b/Notes/app/build/intermediates/processed_res/debug/processDebugResources/out/resources-debug.ap_
index 553c972..c814b36 100644
Binary files a/Notes/app/build/intermediates/processed_res/debug/processDebugResources/out/resources-debug.ap_ and b/Notes/app/build/intermediates/processed_res/debug/processDebugResources/out/resources-debug.ap_ differ
diff --git a/Notes/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/ui/NoteEditActivity$1.dex b/Notes/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/ui/NoteEditActivity$1.dex
index 29552cc..a25094d 100644
Binary files a/Notes/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/ui/NoteEditActivity$1.dex and b/Notes/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/ui/NoteEditActivity$1.dex differ
diff --git a/Notes/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/ui/NoteEditActivity$2.dex b/Notes/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/ui/NoteEditActivity$2.dex
index 68e30c8..7d7cdd1 100644
Binary files a/Notes/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/ui/NoteEditActivity$2.dex and b/Notes/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/ui/NoteEditActivity$2.dex differ
diff --git a/Notes/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/ui/NoteEditActivity$3.dex b/Notes/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/ui/NoteEditActivity$3.dex
index e5959c3..951eb9f 100644
Binary files a/Notes/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/ui/NoteEditActivity$3.dex and b/Notes/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/ui/NoteEditActivity$3.dex differ
diff --git a/Notes/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/ui/NoteEditActivity$HeadViewHolder.dex b/Notes/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/ui/NoteEditActivity$HeadViewHolder.dex
index 2be27a8..3c59db4 100644
Binary files a/Notes/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/ui/NoteEditActivity$HeadViewHolder.dex and b/Notes/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/ui/NoteEditActivity$HeadViewHolder.dex differ
diff --git a/Notes/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/ui/NoteEditActivity.dex b/Notes/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/ui/NoteEditActivity.dex
index 44c9adc..0e05bd6 100644
Binary files a/Notes/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/ui/NoteEditActivity.dex and b/Notes/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/ui/NoteEditActivity.dex differ
diff --git a/Notes/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/ui/NotesListActivity$ListEditState.dex b/Notes/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/ui/NotesListActivity$ListEditState.dex
index f013473..5db4943 100644
Binary files a/Notes/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/ui/NotesListActivity$ListEditState.dex and b/Notes/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/ui/NotesListActivity$ListEditState.dex differ
diff --git a/Notes/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/ui/NotesListActivity.dex b/Notes/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/ui/NotesListActivity.dex
index 1befc30..d878c51 100644
Binary files a/Notes/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/ui/NotesListActivity.dex and b/Notes/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/ui/NotesListActivity.dex differ
diff --git a/Notes/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/ui/NotesListAdapter.dex b/Notes/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/ui/NotesListAdapter.dex
index ac6b452..ec5d14b 100644
Binary files a/Notes/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/ui/NotesListAdapter.dex and b/Notes/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/ui/NotesListAdapter.dex differ
diff --git a/Notes/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/ui/NotesListItem.dex b/Notes/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/ui/NotesListItem.dex
index 05ffa5a..a178b08 100644
Binary files a/Notes/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/ui/NotesListItem.dex and b/Notes/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/ui/NotesListItem.dex differ
diff --git a/Notes/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/ui/NotesPreferenceActivity$1.dex b/Notes/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/ui/NotesPreferenceActivity$1.dex
index d473ac9..f0705c0 100644
Binary files a/Notes/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/ui/NotesPreferenceActivity$1.dex and b/Notes/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/ui/NotesPreferenceActivity$1.dex differ
diff --git a/Notes/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/ui/NotesPreferenceActivity$2.dex b/Notes/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/ui/NotesPreferenceActivity$2.dex
index 49a1276..89585ab 100644
Binary files a/Notes/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/ui/NotesPreferenceActivity$2.dex and b/Notes/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/ui/NotesPreferenceActivity$2.dex differ
diff --git a/Notes/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/ui/NotesPreferenceActivity$3.dex b/Notes/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/ui/NotesPreferenceActivity$3.dex
index 55c3c78..a31071c 100644
Binary files a/Notes/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/ui/NotesPreferenceActivity$3.dex and b/Notes/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/ui/NotesPreferenceActivity$3.dex differ
diff --git a/Notes/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/ui/NotesPreferenceActivity$4.dex b/Notes/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/ui/NotesPreferenceActivity$4.dex
index 6c2425d..3ac7953 100644
Binary files a/Notes/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/ui/NotesPreferenceActivity$4.dex and b/Notes/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/ui/NotesPreferenceActivity$4.dex differ
diff --git a/Notes/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/ui/NotesPreferenceActivity$5.dex b/Notes/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/ui/NotesPreferenceActivity$5.dex
index 2a8724b..7b258d5 100644
Binary files a/Notes/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/ui/NotesPreferenceActivity$5.dex and b/Notes/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/ui/NotesPreferenceActivity$5.dex differ
diff --git a/Notes/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/ui/NotesPreferenceActivity$6.dex b/Notes/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/ui/NotesPreferenceActivity$6.dex
index 1db6419..8c876ed 100644
Binary files a/Notes/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/ui/NotesPreferenceActivity$6.dex and b/Notes/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/ui/NotesPreferenceActivity$6.dex differ
diff --git a/Notes/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/ui/NotesPreferenceActivity$7.dex b/Notes/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/ui/NotesPreferenceActivity$7.dex
index cdcfce3..313319f 100644
Binary files a/Notes/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/ui/NotesPreferenceActivity$7.dex and b/Notes/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/ui/NotesPreferenceActivity$7.dex differ
diff --git a/Notes/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/ui/NotesPreferenceActivity$8.dex b/Notes/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/ui/NotesPreferenceActivity$8.dex
index c680a51..40641e1 100644
Binary files a/Notes/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/ui/NotesPreferenceActivity$8.dex and b/Notes/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/ui/NotesPreferenceActivity$8.dex differ
diff --git a/Notes/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/ui/NotesPreferenceActivity$GTaskReceiver.dex b/Notes/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/ui/NotesPreferenceActivity$GTaskReceiver.dex
index 9c65e86..adaf06b 100644
Binary files a/Notes/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/ui/NotesPreferenceActivity$GTaskReceiver.dex and b/Notes/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/ui/NotesPreferenceActivity$GTaskReceiver.dex differ
diff --git a/Notes/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/ui/NotesPreferenceActivity.dex b/Notes/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/ui/NotesPreferenceActivity.dex
index 5d0b8db..eba9da0 100644
Binary files a/Notes/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/ui/NotesPreferenceActivity.dex and b/Notes/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/ui/NotesPreferenceActivity.dex differ
diff --git a/Notes/app/build/outputs/apk/debug/app-debug.apk b/Notes/app/build/outputs/apk/debug/app-debug.apk
index 1d6f2af..3412a5d 100644
Binary files a/Notes/app/build/outputs/apk/debug/app-debug.apk and b/Notes/app/build/outputs/apk/debug/app-debug.apk differ
diff --git a/Notes/app/build/outputs/logs/manifest-merger-debug-report.txt b/Notes/app/build/outputs/logs/manifest-merger-debug-report.txt
index d748094..c7a072b 100644
--- a/Notes/app/build/outputs/logs/manifest-merger-debug-report.txt
+++ b/Notes/app/build/outputs/logs/manifest-merger-debug-report.txt
@@ -130,7 +130,7 @@ ADDED from D:\14th\14th\Notes\app\src\main\AndroidManifest.xml:52:9-81:20
android:configChanges
ADDED from D:\14th\14th\Notes\app\src\main\AndroidManifest.xml:54:13-74
android:theme
- ADDED from D:\14th\14th\Notes\app\src\main\AndroidManifest.xml:56:13-45
+ ADDED from D:\14th\14th\Notes\app\src\main\AndroidManifest.xml:56:13-71
android:name
ADDED from D:\14th\14th\Notes\app\src\main\AndroidManifest.xml:53:13-48
intent-filter#action:name:android.intent.action.VIEW+category:name:android.intent.category.DEFAULT+data:mimeType:vnd.android.cursor.item/call_note+data:mimeType:vnd.android.cursor.item/text_note
diff --git a/Notes/app/src/main/AndroidManifest.xml b/Notes/app/src/main/AndroidManifest.xml
index 26a00a1..b9c9c5a 100644
--- a/Notes/app/src/main/AndroidManifest.xml
+++ b/Notes/app/src/main/AndroidManifest.xml
@@ -53,7 +53,7 @@
android:name=".ui.NoteEditActivity"
android:configChanges="keyboardHidden|orientation|screenSize"
android:launchMode="singleTop"
- android:theme="@style/NoteTheme" >
+ android:theme="@style/Theme.AppCompat.Light.DarkActionBar" >
diff --git a/Notes/app/src/main/java/net/micode/notes/ui/NoteEditActivity.java b/Notes/app/src/main/java/net/micode/notes/ui/NoteEditActivity.java
index 96a9ff8..4595559 100644
--- a/Notes/app/src/main/java/net/micode/notes/ui/NoteEditActivity.java
+++ b/Notes/app/src/main/java/net/micode/notes/ui/NoteEditActivity.java
@@ -19,6 +19,7 @@ package net.micode.notes.ui;
import android.app.Activity;
import android.app.AlarmManager;
import android.app.AlertDialog;
+import android.app.Dialog;
import android.app.PendingIntent;
import android.app.SearchManager;
import android.appwidget.AppWidgetManager;
@@ -30,6 +31,7 @@ import android.content.SharedPreferences;
import android.graphics.Paint;
import android.os.Bundle;
import android.preference.PreferenceManager;
+import android.support.v7.app.AppCompatActivity;
import android.text.Spannable;
import android.text.SpannableString;
import android.text.TextUtils;
@@ -43,6 +45,7 @@ import android.view.MotionEvent;
import android.view.View;
import android.view.View.OnClickListener;
import android.view.WindowManager;
+import android.view.inputmethod.InputMethodManager;
import android.widget.CheckBox;
import android.widget.CompoundButton;
import android.widget.CompoundButton.OnCheckedChangeListener;
@@ -72,7 +75,7 @@ import java.util.regex.Matcher;
import java.util.regex.Pattern;
-public class NoteEditActivity extends Activity implements OnClickListener,
+public class NoteEditActivity extends AppCompatActivity implements OnClickListener,//AppCompatActivity不是Activity
NoteSettingChangedListener, OnTextViewChangeListener {
private class HeadViewHolder {
public TextView tvModified;
@@ -450,6 +453,7 @@ public class NoteEditActivity extends Activity implements OnClickListener,
}
mFontSizeSelector.setVisibility(View.GONE);
}
+
}
@Override
diff --git a/Notes/app/src/main/java/net/micode/notes/ui/NotesListActivity.java b/Notes/app/src/main/java/net/micode/notes/ui/NotesListActivity.java
index f29bbce..94e5335 100644
--- a/Notes/app/src/main/java/net/micode/notes/ui/NotesListActivity.java
+++ b/Notes/app/src/main/java/net/micode/notes/ui/NotesListActivity.java
@@ -81,7 +81,7 @@ import java.io.InputStream;
import java.io.InputStreamReader;
import java.util.HashSet;
-public class NotesListActivity extends AppCompatActivity implements OnClickListener, OnItemLongClickListener {
+public class NotesListActivity extends AppCompatActivity implements OnClickListener, OnItemLongClickListener {//AppCompatActivity不是Activity
/*首页背景切换*/
private int time_mode=1;
@@ -165,7 +165,8 @@ public class NotesListActivity extends AppCompatActivity implements OnClickListe
if (!sp.getBoolean(PREFERENCE_ADD_INTRODUCTION, false)) {
StringBuilder sb = new StringBuilder();
InputStream in = null;
- try {
+ try {// 把资源文件放到应用程序的/raw/raw下,那么就可以在应用中使用getResources获取资源后,
+ // 以openRawResource方法(不带后缀的资源文件名)打开这个文件。
in = getResources().openRawResource(R.raw.introduction);
if (in != null) {
InputStreamReader isr = new InputStreamReader(in);
diff --git a/Notes/app/src/main/java/net/micode/notes/ui/NotesListAdapter.java b/Notes/app/src/main/java/net/micode/notes/ui/NotesListAdapter.java
index 51c9cb9..df73326 100644
--- a/Notes/app/src/main/java/net/micode/notes/ui/NotesListAdapter.java
+++ b/Notes/app/src/main/java/net/micode/notes/ui/NotesListAdapter.java
@@ -64,20 +64,33 @@ public class NotesListAdapter extends CursorAdapter {
}
}
+ /*
+ * 函数功能:设置勾选框
+ */
public void setCheckedItem(final int position, final boolean checked) {
mSelectedIndex.put(position, checked);
notifyDataSetChanged();
}
+ /*
+ * 函数功能:判断单选按钮是否勾选
+ */
public boolean isInChoiceMode() {
return mChoiceMode;
}
+ /*
+ * 函数功能:设置单项选项框
+ * 函数实现:重置下标并且根据参数mode设置选项
+ */
public void setChoiceMode(boolean mode) {
mSelectedIndex.clear();
mChoiceMode = mode;
}
+ /*
+ * 函数功能:全选
+ */
public void selectAll(boolean checked) {
Cursor cursor = getCursor();
for (int i = 0; i < getCount(); i++) {
@@ -89,8 +102,11 @@ public class NotesListAdapter extends CursorAdapter {
}
}
+ /*
+ * 函数功能:建立选择项的下标列表
+ */
public HashSet getSelectedItemIds() {
- HashSet itemSet = new HashSet();
+ HashSet itemSet = new HashSet();//建立hash表
for (Integer position : mSelectedIndex.keySet()) {
if (mSelectedIndex.get(position) == true) {
Long id = getItemId(position);
@@ -104,7 +120,9 @@ public class NotesListAdapter extends CursorAdapter {
return itemSet;
}
-
+ /*
+ * 函数功能:建立桌面Widget的选项表
+ */
public HashSet getSelectedWidget() {
HashSet itemSet = new HashSet();
for (Integer position : mSelectedIndex.keySet()) {
@@ -128,6 +146,9 @@ public class NotesListAdapter extends CursorAdapter {
return itemSet;
}
+ /*
+ * 函数功能:获取选项个数
+ */
public int getSelectedCount() {
Collection values = mSelectedIndex.values();
if (null == values) {
@@ -143,11 +164,18 @@ public class NotesListAdapter extends CursorAdapter {
return count;
}
+ /*
+ * 函数功能:判断是否全部选中
+ */
public boolean isAllSelected() {
int checkedCount = getSelectedCount();
return (checkedCount != 0 && checkedCount == mNotesCount);
}
+ /*
+ * 函数功能:判断是否为选项表
+ * 函数实现:通过传递的下标来确定
+ */
public boolean isSelectedItem(final int position) {
if (null == mSelectedIndex.get(position)) {
return false;
@@ -167,13 +195,16 @@ public class NotesListAdapter extends CursorAdapter {
calcNotesCount();
}
+ /*
+ * 函数功能:计算便签数量
+ */
private void calcNotesCount() {
mNotesCount = 0;
for (int i = 0; i < getCount(); i++) {
Cursor c = (Cursor) getItem(i);
if (c != null) {
if (NoteItemData.getNoteType(c) == Notes.TYPE_NOTE) {
- mNotesCount++;
+ mNotesCount++;//若该位置不为空并且文本类型为便签就+1
}
} else {
Log.e(TAG, "Invalid cursor");
diff --git a/Notes/app/src/main/java/net/micode/notes/ui/NotesListItem.java b/Notes/app/src/main/java/net/micode/notes/ui/NotesListItem.java
index 1221e80..0787a01 100644
--- a/Notes/app/src/main/java/net/micode/notes/ui/NotesListItem.java
+++ b/Notes/app/src/main/java/net/micode/notes/ui/NotesListItem.java
@@ -29,25 +29,28 @@ import net.micode.notes.data.Notes;
import net.micode.notes.tool.DataUtils;
import net.micode.notes.tool.ResourceParser.NoteItemBgResources;
-
+//创建便签列表项目选项
public class NotesListItem extends LinearLayout {
- private ImageView mAlert;
- private TextView mTitle;
- private TextView mTime;
+ private ImageView mAlert;//闹钟图片
+ private TextView mTitle;//标题
+ private TextView mTime;//时间
private TextView mCallName;
- private NoteItemData mItemData;
- private CheckBox mCheckBox;
+ private NoteItemData mItemData;//标签数据
+ private CheckBox mCheckBox;//打钩框
public NotesListItem(Context context) {
- super(context);
+ super(context);//super()它的主要作用是调整调用父类构造函数的顺序
inflate(context, R.layout.note_item, this);
+ //Inflate可用于将一个xml中定义的布局控件找出来,这里的xml是r。layout
+ //findViewById用于从contentView中查找指定ID的View,转换出来的形式根据需要而定;
+
mAlert = (ImageView) findViewById(R.id.iv_alert_icon);
mTitle = (TextView) findViewById(R.id.tv_title);
mTime = (TextView) findViewById(R.id.tv_time);
mCallName = (TextView) findViewById(R.id.tv_name);
mCheckBox = (CheckBox) findViewById(android.R.id.checkbox);
}
-
+ ///根据data的属性对各个控件的属性的控制,主要是可见性Visibility,内容setText,格式setTextAppearance
public void bind(Context context, NoteItemData data, boolean choiceMode, boolean checked) {
if (choiceMode && data.getType() == Notes.TYPE_NOTE) {
mCheckBox.setVisibility(View.VISIBLE);
diff --git a/Notes/app/src/main/java/net/micode/notes/ui/NotesPreferenceActivity.java b/Notes/app/src/main/java/net/micode/notes/ui/NotesPreferenceActivity.java
index 07c5f7e..2b38680 100644
--- a/Notes/app/src/main/java/net/micode/notes/ui/NotesPreferenceActivity.java
+++ b/Notes/app/src/main/java/net/micode/notes/ui/NotesPreferenceActivity.java
@@ -48,6 +48,10 @@ import net.micode.notes.data.Notes.NoteColumns;
import net.micode.notes.gtask.remote.GTaskSyncService;
+/*
+ *该类功能:NotesPreferenceActivity,在小米便签中主要实现的是对背景颜色和字体大小的数据储存。
+ * 继承了PreferenceActivity主要功能为对系统信息和配置进行自动保存的Activity
+ */
public class NotesPreferenceActivity extends PreferenceActivity {
public static final String PREFERENCE_NAME = "notes_preferences";
@@ -74,9 +78,9 @@ public class NotesPreferenceActivity extends PreferenceActivity {
super.onCreate(icicle);
/* using the app icon for navigation */
- getActionBar().setDisplayHomeAsUpEnabled(true);
+ getActionBar().setDisplayHomeAsUpEnabled(true);//给左上角图标的左边加上一个返回的图标
- addPreferencesFromResource(R.xml.preferences);
+ addPreferencesFromResource(R.xml.preferences);//添加xml来源并显示 xml
mAccountCategory = (PreferenceCategory) findPreference(PREFERENCE_SYNC_ACCOUNT_KEY);
mReceiver = new GTaskReceiver();
IntentFilter filter = new IntentFilter();
@@ -85,6 +89,7 @@ public class NotesPreferenceActivity extends PreferenceActivity {
mOriAccounts = null;
View header = LayoutInflater.from(this).inflate(R.layout.settings_header, null);
+ //获取listvivew,ListView的作用:用于列出所有选择
getListView().addHeaderView(header, null, true);
}
diff --git a/Notes/app/src/main/res/drawable-hdpi/lock.png b/Notes/app/src/main/res/drawable-hdpi/lock.png
new file mode 100644
index 0000000..01f5ac5
Binary files /dev/null and b/Notes/app/src/main/res/drawable-hdpi/lock.png differ