diff --git a/Mi/.gitignore b/Mi/.gitignore
new file mode 100644
index 0000000..aa724b7
--- /dev/null
+++ b/Mi/.gitignore
@@ -0,0 +1,15 @@
+*.iml
+.gradle
+/local.properties
+/.idea/caches
+/.idea/libraries
+/.idea/modules.xml
+/.idea/workspace.xml
+/.idea/navEditor.xml
+/.idea/assetWizardSettings.xml
+.DS_Store
+/build
+/captures
+.externalNativeBuild
+.cxx
+local.properties
diff --git a/Mi/.idea/.gitignore b/Mi/.idea/.gitignore
deleted file mode 100644
index 26d3352..0000000
--- a/Mi/.idea/.gitignore
+++ /dev/null
@@ -1,3 +0,0 @@
-# Default ignored files
-/shelf/
-/workspace.xml
diff --git a/Mi/.idea/.name b/Mi/.idea/.name
new file mode 100644
index 0000000..4885998
--- /dev/null
+++ b/Mi/.idea/.name
@@ -0,0 +1 @@
+minote
\ No newline at end of file
diff --git a/Mi/.idea/AndroidProjectSystem.xml b/Mi/.idea/AndroidProjectSystem.xml
new file mode 100644
index 0000000..4a53bee
--- /dev/null
+++ b/Mi/.idea/AndroidProjectSystem.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Mi/.idea/compiler.xml b/Mi/.idea/compiler.xml
new file mode 100644
index 0000000..b86273d
--- /dev/null
+++ b/Mi/.idea/compiler.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Mi/.idea/deploymentTargetSelector.xml b/Mi/.idea/deploymentTargetSelector.xml
new file mode 100644
index 0000000..fc8303f
--- /dev/null
+++ b/Mi/.idea/deploymentTargetSelector.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Mi/.idea/gradle.xml b/Mi/.idea/gradle.xml
new file mode 100644
index 0000000..97f0a8e
--- /dev/null
+++ b/Mi/.idea/gradle.xml
@@ -0,0 +1,18 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Mi/.idea/inspectionProfiles/Project_Default.xml b/Mi/.idea/inspectionProfiles/Project_Default.xml
new file mode 100644
index 0000000..7061a0d
--- /dev/null
+++ b/Mi/.idea/inspectionProfiles/Project_Default.xml
@@ -0,0 +1,61 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Mi/.idea/kotlinc.xml b/Mi/.idea/kotlinc.xml
new file mode 100644
index 0000000..c224ad5
--- /dev/null
+++ b/Mi/.idea/kotlinc.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Mi/.idea/migrations.xml b/Mi/.idea/migrations.xml
new file mode 100644
index 0000000..f8051a6
--- /dev/null
+++ b/Mi/.idea/migrations.xml
@@ -0,0 +1,10 @@
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Mi/.idea/misc.xml b/Mi/.idea/misc.xml
index 57d62b3..74dd639 100644
--- a/Mi/.idea/misc.xml
+++ b/Mi/.idea/misc.xml
@@ -1,6 +1,10 @@
-
-
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Mi/.idea/modules.xml b/Mi/.idea/modules.xml
deleted file mode 100644
index b17e9f5..0000000
--- a/Mi/.idea/modules.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/Mi/.idea/runConfigurations.xml b/Mi/.idea/runConfigurations.xml
new file mode 100644
index 0000000..16660f1
--- /dev/null
+++ b/Mi/.idea/runConfigurations.xml
@@ -0,0 +1,17 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Mi/Mi.iml b/Mi/Mi.iml
deleted file mode 100644
index c90834f..0000000
--- a/Mi/Mi.iml
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/Mi/NOTICE b/Mi/NOTICE
deleted file mode 100644
index 9a54521..0000000
--- a/Mi/NOTICE
+++ /dev/null
@@ -1,190 +0,0 @@
-
- Copyright (c) 2010-2011, The MiCode Open Source Community (www.micode.net)
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
-
- 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.
- See the License for the specific language governing permissions and
- limitations under the License.
-
-
- Apache License
- Version 2.0, January 2004
- http://www.apache.org/licenses/
-
- TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
-
- 1. Definitions.
-
- "License" shall mean the terms and conditions for use, reproduction,
- and distribution as defined by Sections 1 through 9 of this document.
-
- "Licensor" shall mean the copyright owner or entity authorized by
- the copyright owner that is granting the License.
-
- "Legal Entity" shall mean the union of the acting entity and all
- other entities that control, are controlled by, or are under common
- control with that entity. For the purposes of this definition,
- "control" means (i) the power, direct or indirect, to cause the
- direction or management of such entity, whether by contract or
- otherwise, or (ii) ownership of fifty percent (50%) or more of the
- outstanding shares, or (iii) beneficial ownership of such entity.
-
- "You" (or "Your") shall mean an individual or Legal Entity
- exercising permissions granted by this License.
-
- "Source" form shall mean the preferred form for making modifications,
- including but not limited to software source code, documentation
- source, and configuration files.
-
- "Object" form shall mean any form resulting from mechanical
- transformation or translation of a Source form, including but
- not limited to compiled object code, generated documentation,
- and conversions to other media types.
-
- "Work" shall mean the work of authorship, whether in Source or
- Object form, made available under the License, as indicated by a
- copyright notice that is included in or attached to the work
- (an example is provided in the Appendix below).
-
- "Derivative Works" shall mean any work, whether in Source or Object
- form, that is based on (or derived from) the Work and for which the
- editorial revisions, annotations, elaborations, or other modifications
- represent, as a whole, an original work of authorship. For the purposes
- of this License, Derivative Works shall not include works that remain
- separable from, or merely link (or bind by name) to the interfaces of,
- the Work and Derivative Works thereof.
-
- "Contribution" shall mean any work of authorship, including
- the original version of the Work and any modifications or additions
- to that Work or Derivative Works thereof, that is intentionally
- submitted to Licensor for inclusion in the Work by the copyright owner
- or by an individual or Legal Entity authorized to submit on behalf of
- the copyright owner. For the purposes of this definition, "submitted"
- means any form of electronic, verbal, or written communication sent
- to the Licensor or its representatives, including but not limited to
- communication on electronic mailing lists, source code control systems,
- and issue tracking systems that are managed by, or on behalf of, the
- Licensor for the purpose of discussing and improving the Work, but
- excluding communication that is conspicuously marked or otherwise
- designated in writing by the copyright owner as "Not a Contribution."
-
- "Contributor" shall mean Licensor and any individual or Legal Entity
- on behalf of whom a Contribution has been received by Licensor and
- subsequently incorporated within the Work.
-
- 2. Grant of Copyright License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- copyright license to reproduce, prepare Derivative Works of,
- publicly display, publicly perform, sublicense, and distribute the
- Work and such Derivative Works in Source or Object form.
-
- 3. Grant of Patent License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- (except as stated in this section) patent license to make, have made,
- use, offer to sell, sell, import, and otherwise transfer the Work,
- where such license applies only to those patent claims licensable
- by such Contributor that are necessarily infringed by their
- Contribution(s) alone or by combination of their Contribution(s)
- with the Work to which such Contribution(s) was submitted. If You
- institute patent litigation against any entity (including a
- cross-claim or counterclaim in a lawsuit) alleging that the Work
- or a Contribution incorporated within the Work constitutes direct
- or contributory patent infringement, then any patent licenses
- granted to You under this License for that Work shall terminate
- as of the date such litigation is filed.
-
- 4. Redistribution. You may reproduce and distribute copies of the
- Work or Derivative Works thereof in any medium, with or without
- modifications, and in Source or Object form, provided that You
- meet the following conditions:
-
- (a) You must give any other recipients of the Work or
- Derivative Works a copy of this License; and
-
- (b) You must cause any modified files to carry prominent notices
- stating that You changed the files; and
-
- (c) You must retain, in the Source form of any Derivative Works
- that You distribute, all copyright, patent, trademark, and
- attribution notices from the Source form of the Work,
- excluding those notices that do not pertain to any part of
- the Derivative Works; and
-
- (d) If the Work includes a "NOTICE" text file as part of its
- distribution, then any Derivative Works that You distribute must
- include a readable copy of the attribution notices contained
- within such NOTICE file, excluding those notices that do not
- pertain to any part of the Derivative Works, in at least one
- of the following places: within a NOTICE text file distributed
- as part of the Derivative Works; within the Source form or
- documentation, if provided along with the Derivative Works; or,
- within a display generated by the Derivative Works, if and
- wherever such third-party notices normally appear. The contents
- of the NOTICE file are for informational purposes only and
- do not modify the License. You may add Your own attribution
- notices within Derivative Works that You distribute, alongside
- or as an addendum to the NOTICE text from the Work, provided
- that such additional attribution notices cannot be construed
- as modifying the License.
-
- You may add Your own copyright statement to Your modifications and
- may provide additional or different license terms and conditions
- for use, reproduction, or distribution of Your modifications, or
- for any such Derivative Works as a whole, provided Your use,
- reproduction, and distribution of the Work otherwise complies with
- the conditions stated in this License.
-
- 5. Submission of Contributions. Unless You explicitly state otherwise,
- any Contribution intentionally submitted for inclusion in the Work
- by You to the Licensor shall be under the terms and conditions of
- this License, without any additional terms or conditions.
- Notwithstanding the above, nothing herein shall supersede or modify
- the terms of any separate license agreement you may have executed
- with Licensor regarding such Contributions.
-
- 6. Trademarks. This License does not grant permission to use the trade
- names, trademarks, service marks, or product names of the Licensor,
- except as required for reasonable and customary use in describing the
- origin of the Work and reproducing the content of the NOTICE file.
-
- 7. Disclaimer of Warranty. Unless required by applicable law or
- agreed to in writing, Licensor provides the Work (and each
- Contributor provides its Contributions) on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
- implied, including, without limitation, any warranties or conditions
- of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
- PARTICULAR PURPOSE. You are solely responsible for determining the
- appropriateness of using or redistributing the Work and assume any
- risks associated with Your exercise of permissions under this License.
-
- 8. Limitation of Liability. In no event and under no legal theory,
- whether in tort (including negligence), contract, or otherwise,
- unless required by applicable law (such as deliberate and grossly
- negligent acts) or agreed to in writing, shall any Contributor be
- liable to You for damages, including any direct, indirect, special,
- incidental, or consequential damages of any character arising as a
- result of this License or out of the use or inability to use the
- Work (including but not limited to damages for loss of goodwill,
- work stoppage, computer failure or malfunction, or any and all
- other commercial damages or losses), even if such Contributor
- has been advised of the possibility of such damages.
-
- 9. Accepting Warranty or Additional Liability. While redistributing
- the Work or Derivative Works thereof, You may choose to offer,
- and charge a fee for, acceptance of support, warranty, indemnity,
- or other liability obligations and/or rights consistent with this
- License. However, in accepting such obligations, You may act only
- on Your own behalf and on Your sole responsibility, not on behalf
- of any other Contributor, and only if You agree to indemnify,
- defend, and hold each Contributor harmless for any liability
- incurred by, or claims asserted against, such Contributor by reason
- of your accepting any such warranty or additional liability.
-
- END OF TERMS AND CONDITIONS
-
diff --git a/Mi/app/.gitignore b/Mi/app/.gitignore
new file mode 100644
index 0000000..42afabf
--- /dev/null
+++ b/Mi/app/.gitignore
@@ -0,0 +1 @@
+/build
\ No newline at end of file
diff --git a/Mi/app/build.gradle.kts b/Mi/app/build.gradle.kts
new file mode 100644
index 0000000..72c54ab
--- /dev/null
+++ b/Mi/app/build.gradle.kts
@@ -0,0 +1,69 @@
+plugins {
+ alias(libs.plugins.android.application)
+ alias(libs.plugins.kotlin.android)
+ alias(libs.plugins.kotlin.compose)
+}
+
+android {
+ namespace = "net.micode.notes"
+ compileSdk = 35
+
+ defaultConfig {
+ applicationId = "net.micode.notes"
+ minSdk = 24
+ targetSdk = 35
+ versionCode = 1
+ versionName = "1.0"
+
+ testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
+ }
+
+ buildTypes {
+ release {
+ isMinifyEnabled = false
+ proguardFiles(
+ getDefaultProguardFile("proguard-android-optimize.txt"),
+ "proguard-rules.pro"
+ )
+ }
+ }
+ compileOptions {
+ sourceCompatibility = JavaVersion.VERSION_11
+ targetCompatibility = JavaVersion.VERSION_11
+ }
+ kotlinOptions {
+ jvmTarget = "11"
+ }
+ buildFeatures {
+ compose = true
+ }
+
+ packaging() {
+ resources.excludes.add("META-INF/DEPENDENCIES")
+ resources.excludes.add("META-INF/NOTICE")
+ resources.excludes.add("META-INF/LICENSE")
+ resources.excludes.add("META-INF/LICENSE.txt")
+ resources.excludes.add("META-INF/NOTICE.txt")
+ }
+}
+
+dependencies {
+
+ implementation ("org.apache.httpcomponents:httpclient:4.5.13")
+ implementation ("org.apache.httpcomponents:httpcore:4.4.13")
+ implementation(libs.androidx.core.ktx)
+ implementation(libs.androidx.lifecycle.runtime.ktx)
+ implementation(libs.androidx.activity.compose)
+ implementation(platform(libs.androidx.compose.bom))
+ implementation(libs.androidx.ui)
+ implementation(libs.androidx.ui.graphics)
+ implementation(libs.androidx.ui.tooling.preview)
+ implementation(libs.androidx.material3)
+ testImplementation(libs.junit)
+ androidTestImplementation(libs.androidx.junit)
+ androidTestImplementation(libs.androidx.espresso.core)
+ androidTestImplementation(platform(libs.androidx.compose.bom))
+ androidTestImplementation(libs.androidx.ui.test.junit4)
+ debugImplementation(libs.androidx.ui.tooling)
+ debugImplementation(libs.androidx.ui.test.manifest)
+}
\ No newline at end of file
diff --git a/Mi/app/proguard-rules.pro b/Mi/app/proguard-rules.pro
new file mode 100644
index 0000000..481bb43
--- /dev/null
+++ b/Mi/app/proguard-rules.pro
@@ -0,0 +1,21 @@
+# Add project specific ProGuard rules here.
+# You can control the set of applied configuration files using the
+# proguardFiles setting in build.gradle.
+#
+# For more details, see
+# http://developer.android.com/guide/developing/tools/proguard.html
+
+# If your project uses WebView with JS, uncomment the following
+# and specify the fully qualified class name to the JavaScript interface
+# class:
+#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
+# public *;
+#}
+
+# Uncomment this to preserve the line number information for
+# debugging stack traces.
+#-keepattributes SourceFile,LineNumberTable
+
+# If you keep the line number information, uncomment this to
+# hide the original source file name.
+#-renamesourcefileattribute SourceFile
\ No newline at end of file
diff --git a/Mi/app/src/androidTest/java/net/micode/notes/ExampleInstrumentedTest.kt b/Mi/app/src/androidTest/java/net/micode/notes/ExampleInstrumentedTest.kt
new file mode 100644
index 0000000..a96b72f
--- /dev/null
+++ b/Mi/app/src/androidTest/java/net/micode/notes/ExampleInstrumentedTest.kt
@@ -0,0 +1,24 @@
+package net.micode.notes
+
+import androidx.test.platform.app.InstrumentationRegistry
+import androidx.test.ext.junit.runners.AndroidJUnit4
+
+import org.junit.Test
+import org.junit.runner.RunWith
+
+import org.junit.Assert.*
+
+/**
+ * Instrumented test, which will execute on an Android device.
+ *
+ * See [testing documentation](http://d.android.com/tools/testing).
+ */
+@RunWith(AndroidJUnit4::class)
+class ExampleInstrumentedTest {
+ @Test
+ fun useAppContext() {
+ // Context of the app under test.
+ val appContext = InstrumentationRegistry.getInstrumentation().targetContext
+ assertEquals("net.micode.notes", appContext.packageName)
+ }
+}
\ No newline at end of file
diff --git a/Mi/AndroidManifest.xml b/Mi/app/src/main/AndroidManifest.xml
similarity index 92%
rename from Mi/AndroidManifest.xml
rename to Mi/app/src/main/AndroidManifest.xml
index e5c7d47..5828722 100644
--- a/Mi/AndroidManifest.xml
+++ b/Mi/app/src/main/AndroidManifest.xml
@@ -16,7 +16,6 @@
-->
@@ -42,7 +41,8 @@
android:launchMode="singleTop"
android:theme="@style/NoteTheme"
android:uiOptions="splitActionBarWhenNarrow"
- android:windowSoftInputMode="adjustPan" >
+ android:windowSoftInputMode="adjustPan"
+ android:exported="true" >
@@ -54,7 +54,8 @@
android:name=".ui.NoteEditActivity"
android:configChanges="keyboardHidden|orientation|screenSize"
android:launchMode="singleTop"
- android:theme="@style/NoteTheme" >
+ android:theme="@style/NoteTheme"
+ android:exported="true" >
@@ -87,7 +88,8 @@
+ android:label="@string/app_widget2x2"
+ android:exported="true" >
@@ -100,7 +102,8 @@
+ android:label="@string/app_widget4x4"
+ android:exported="true" >
@@ -113,7 +116,8 @@
android:resource="@xml/widget_4x_info" />
-
+
diff --git a/Mi/app/src/main/java/net/micode/notes/MainActivity.kt b/Mi/app/src/main/java/net/micode/notes/MainActivity.kt
new file mode 100644
index 0000000..b802ea6
--- /dev/null
+++ b/Mi/app/src/main/java/net/micode/notes/MainActivity.kt
@@ -0,0 +1,47 @@
+package net.micode.notes
+
+import android.os.Bundle
+import androidx.activity.ComponentActivity
+import androidx.activity.compose.setContent
+import androidx.activity.enableEdgeToEdge
+import androidx.compose.foundation.layout.fillMaxSize
+import androidx.compose.foundation.layout.padding
+import androidx.compose.material3.Scaffold
+import androidx.compose.material3.Text
+import androidx.compose.runtime.Composable
+import androidx.compose.ui.Modifier
+import androidx.compose.ui.tooling.preview.Preview
+import net.micode.notes.ui.theme.MinoteTheme
+
+class MainActivity : ComponentActivity() {
+ override fun onCreate(savedInstanceState: Bundle?) {
+ super.onCreate(savedInstanceState)
+ enableEdgeToEdge()
+ setContent {
+ MinoteTheme {
+ Scaffold(modifier = Modifier.fillMaxSize()) { innerPadding ->
+ Greeting(
+ name = "Android",
+ modifier = Modifier.padding(innerPadding)
+ )
+ }
+ }
+ }
+ }
+}
+
+@Composable
+fun Greeting(name: String, modifier: Modifier = Modifier) {
+ Text(
+ text = "Hello $name!",
+ modifier = modifier
+ )
+}
+
+@Preview(showBackground = true)
+@Composable
+fun GreetingPreview() {
+ MinoteTheme {
+ Greeting("Android")
+ }
+}
\ No newline at end of file
diff --git a/Mi/src/net/micode/notes/data/Contact.java b/Mi/app/src/main/java/net/micode/notes/data/Contact.java
similarity index 100%
rename from Mi/src/net/micode/notes/data/Contact.java
rename to Mi/app/src/main/java/net/micode/notes/data/Contact.java
diff --git a/Mi/src/net/micode/notes/data/Notes.java b/Mi/app/src/main/java/net/micode/notes/data/Notes.java
similarity index 100%
rename from Mi/src/net/micode/notes/data/Notes.java
rename to Mi/app/src/main/java/net/micode/notes/data/Notes.java
diff --git a/Mi/src/net/micode/notes/data/NotesDatabaseHelper.java b/Mi/app/src/main/java/net/micode/notes/data/NotesDatabaseHelper.java
similarity index 100%
rename from Mi/src/net/micode/notes/data/NotesDatabaseHelper.java
rename to Mi/app/src/main/java/net/micode/notes/data/NotesDatabaseHelper.java
diff --git a/Mi/src/net/micode/notes/data/NotesProvider.java b/Mi/app/src/main/java/net/micode/notes/data/NotesProvider.java
similarity index 100%
rename from Mi/src/net/micode/notes/data/NotesProvider.java
rename to Mi/app/src/main/java/net/micode/notes/data/NotesProvider.java
diff --git a/Mi/src/net/micode/notes/gtask/data/MetaData.java b/Mi/app/src/main/java/net/micode/notes/gtask/data/MetaData.java
similarity index 100%
rename from Mi/src/net/micode/notes/gtask/data/MetaData.java
rename to Mi/app/src/main/java/net/micode/notes/gtask/data/MetaData.java
diff --git a/Mi/src/net/micode/notes/gtask/data/Node.java b/Mi/app/src/main/java/net/micode/notes/gtask/data/Node.java
similarity index 100%
rename from Mi/src/net/micode/notes/gtask/data/Node.java
rename to Mi/app/src/main/java/net/micode/notes/gtask/data/Node.java
diff --git a/Mi/src/net/micode/notes/gtask/data/SqlData.java b/Mi/app/src/main/java/net/micode/notes/gtask/data/SqlData.java
similarity index 100%
rename from Mi/src/net/micode/notes/gtask/data/SqlData.java
rename to Mi/app/src/main/java/net/micode/notes/gtask/data/SqlData.java
diff --git a/Mi/src/net/micode/notes/gtask/data/SqlNote.java b/Mi/app/src/main/java/net/micode/notes/gtask/data/SqlNote.java
similarity index 100%
rename from Mi/src/net/micode/notes/gtask/data/SqlNote.java
rename to Mi/app/src/main/java/net/micode/notes/gtask/data/SqlNote.java
diff --git a/Mi/src/net/micode/notes/gtask/data/Task.java b/Mi/app/src/main/java/net/micode/notes/gtask/data/Task.java
similarity index 100%
rename from Mi/src/net/micode/notes/gtask/data/Task.java
rename to Mi/app/src/main/java/net/micode/notes/gtask/data/Task.java
diff --git a/Mi/src/net/micode/notes/gtask/data/TaskList.java b/Mi/app/src/main/java/net/micode/notes/gtask/data/TaskList.java
similarity index 100%
rename from Mi/src/net/micode/notes/gtask/data/TaskList.java
rename to Mi/app/src/main/java/net/micode/notes/gtask/data/TaskList.java
diff --git a/Mi/src/net/micode/notes/gtask/exception/ActionFailureException.java b/Mi/app/src/main/java/net/micode/notes/gtask/exception/ActionFailureException.java
similarity index 100%
rename from Mi/src/net/micode/notes/gtask/exception/ActionFailureException.java
rename to Mi/app/src/main/java/net/micode/notes/gtask/exception/ActionFailureException.java
diff --git a/Mi/src/net/micode/notes/gtask/exception/NetworkFailureException.java b/Mi/app/src/main/java/net/micode/notes/gtask/exception/NetworkFailureException.java
similarity index 100%
rename from Mi/src/net/micode/notes/gtask/exception/NetworkFailureException.java
rename to Mi/app/src/main/java/net/micode/notes/gtask/exception/NetworkFailureException.java
diff --git a/Mi/src/net/micode/notes/gtask/remote/GTaskASyncTask.java b/Mi/app/src/main/java/net/micode/notes/gtask/remote/GTaskASyncTask.java
similarity index 87%
rename from Mi/src/net/micode/notes/gtask/remote/GTaskASyncTask.java
rename to Mi/app/src/main/java/net/micode/notes/gtask/remote/GTaskASyncTask.java
index b3b61e7..a1deb99 100644
--- a/Mi/src/net/micode/notes/gtask/remote/GTaskASyncTask.java
+++ b/Mi/app/src/main/java/net/micode/notes/gtask/remote/GTaskASyncTask.java
@@ -64,21 +64,22 @@ public class GTaskASyncTask extends AsyncTask {
}
private void showNotification(int tickerId, String content) {
- Notification notification = new Notification(R.drawable.notification, mContext
- .getString(tickerId), System.currentTimeMillis());
- notification.defaults = Notification.DEFAULT_LIGHTS;
- notification.flags = Notification.FLAG_AUTO_CANCEL;
PendingIntent pendingIntent;
if (tickerId != R.string.ticker_success) {
pendingIntent = PendingIntent.getActivity(mContext, 0, new Intent(mContext,
- NotesPreferenceActivity.class), 0);
-
+ NotesPreferenceActivity.class), PendingIntent.FLAG_IMMUTABLE);
} else {
pendingIntent = PendingIntent.getActivity(mContext, 0, new Intent(mContext,
- NotesListActivity.class), 0);
+ NotesListActivity.class), PendingIntent.FLAG_IMMUTABLE);
}
- notification.setLatestEventInfo(mContext, mContext.getString(R.string.app_name), content,
- pendingIntent);
+ Notification.Builder builder = new Notification.Builder(mContext)
+ .setAutoCancel(true)
+ .setContentTitle(mContext.getString(R.string.app_name))
+ .setContentText(content)
+ .setContentIntent(pendingIntent)
+ .setWhen(System.currentTimeMillis())
+ .setOngoing(true);
+ Notification notification=builder.getNotification();
mNotifiManager.notify(GTASK_SYNC_NOTIFICATION_ID, notification);
}
diff --git a/Mi/src/net/micode/notes/gtask/remote/GTaskClient.java b/Mi/app/src/main/java/net/micode/notes/gtask/remote/GTaskClient.java
similarity index 100%
rename from Mi/src/net/micode/notes/gtask/remote/GTaskClient.java
rename to Mi/app/src/main/java/net/micode/notes/gtask/remote/GTaskClient.java
diff --git a/Mi/src/net/micode/notes/gtask/remote/GTaskManager.java b/Mi/app/src/main/java/net/micode/notes/gtask/remote/GTaskManager.java
similarity index 100%
rename from Mi/src/net/micode/notes/gtask/remote/GTaskManager.java
rename to Mi/app/src/main/java/net/micode/notes/gtask/remote/GTaskManager.java
diff --git a/Mi/src/net/micode/notes/gtask/remote/GTaskSyncService.java b/Mi/app/src/main/java/net/micode/notes/gtask/remote/GTaskSyncService.java
similarity index 100%
rename from Mi/src/net/micode/notes/gtask/remote/GTaskSyncService.java
rename to Mi/app/src/main/java/net/micode/notes/gtask/remote/GTaskSyncService.java
diff --git a/Mi/src/net/micode/notes/model/Note.java b/Mi/app/src/main/java/net/micode/notes/model/Note.java
similarity index 100%
rename from Mi/src/net/micode/notes/model/Note.java
rename to Mi/app/src/main/java/net/micode/notes/model/Note.java
diff --git a/Mi/src/net/micode/notes/model/WorkingNote.java b/Mi/app/src/main/java/net/micode/notes/model/WorkingNote.java
similarity index 100%
rename from Mi/src/net/micode/notes/model/WorkingNote.java
rename to Mi/app/src/main/java/net/micode/notes/model/WorkingNote.java
diff --git a/Mi/src/net/micode/notes/tool/BackupUtils.java b/Mi/app/src/main/java/net/micode/notes/tool/BackupUtils.java
similarity index 100%
rename from Mi/src/net/micode/notes/tool/BackupUtils.java
rename to Mi/app/src/main/java/net/micode/notes/tool/BackupUtils.java
diff --git a/Mi/src/net/micode/notes/tool/DataUtils.java b/Mi/app/src/main/java/net/micode/notes/tool/DataUtils.java
similarity index 100%
rename from Mi/src/net/micode/notes/tool/DataUtils.java
rename to Mi/app/src/main/java/net/micode/notes/tool/DataUtils.java
diff --git a/Mi/src/net/micode/notes/tool/GTaskStringUtils.java b/Mi/app/src/main/java/net/micode/notes/tool/GTaskStringUtils.java
similarity index 100%
rename from Mi/src/net/micode/notes/tool/GTaskStringUtils.java
rename to Mi/app/src/main/java/net/micode/notes/tool/GTaskStringUtils.java
diff --git a/Mi/src/net/micode/notes/tool/ResourceParser.java b/Mi/app/src/main/java/net/micode/notes/tool/ResourceParser.java
similarity index 100%
rename from Mi/src/net/micode/notes/tool/ResourceParser.java
rename to Mi/app/src/main/java/net/micode/notes/tool/ResourceParser.java
diff --git a/Mi/src/net/micode/notes/ui/AlarmAlertActivity.java b/Mi/app/src/main/java/net/micode/notes/ui/AlarmAlertActivity.java
similarity index 100%
rename from Mi/src/net/micode/notes/ui/AlarmAlertActivity.java
rename to Mi/app/src/main/java/net/micode/notes/ui/AlarmAlertActivity.java
diff --git a/Mi/src/net/micode/notes/ui/AlarmInitReceiver.java b/Mi/app/src/main/java/net/micode/notes/ui/AlarmInitReceiver.java
similarity index 100%
rename from Mi/src/net/micode/notes/ui/AlarmInitReceiver.java
rename to Mi/app/src/main/java/net/micode/notes/ui/AlarmInitReceiver.java
diff --git a/Mi/src/net/micode/notes/ui/AlarmReceiver.java b/Mi/app/src/main/java/net/micode/notes/ui/AlarmReceiver.java
similarity index 100%
rename from Mi/src/net/micode/notes/ui/AlarmReceiver.java
rename to Mi/app/src/main/java/net/micode/notes/ui/AlarmReceiver.java
diff --git a/Mi/src/net/micode/notes/ui/DateTimePicker.java b/Mi/app/src/main/java/net/micode/notes/ui/DateTimePicker.java
similarity index 100%
rename from Mi/src/net/micode/notes/ui/DateTimePicker.java
rename to Mi/app/src/main/java/net/micode/notes/ui/DateTimePicker.java
diff --git a/Mi/src/net/micode/notes/ui/DateTimePickerDialog.java b/Mi/app/src/main/java/net/micode/notes/ui/DateTimePickerDialog.java
similarity index 100%
rename from Mi/src/net/micode/notes/ui/DateTimePickerDialog.java
rename to Mi/app/src/main/java/net/micode/notes/ui/DateTimePickerDialog.java
diff --git a/Mi/src/net/micode/notes/ui/DropdownMenu.java b/Mi/app/src/main/java/net/micode/notes/ui/DropdownMenu.java
similarity index 100%
rename from Mi/src/net/micode/notes/ui/DropdownMenu.java
rename to Mi/app/src/main/java/net/micode/notes/ui/DropdownMenu.java
diff --git a/Mi/src/net/micode/notes/ui/FoldersListAdapter.java b/Mi/app/src/main/java/net/micode/notes/ui/FoldersListAdapter.java
similarity index 100%
rename from Mi/src/net/micode/notes/ui/FoldersListAdapter.java
rename to Mi/app/src/main/java/net/micode/notes/ui/FoldersListAdapter.java
diff --git a/Mi/src/net/micode/notes/ui/NoteEditActivity.java b/Mi/app/src/main/java/net/micode/notes/ui/NoteEditActivity.java
similarity index 100%
rename from Mi/src/net/micode/notes/ui/NoteEditActivity.java
rename to Mi/app/src/main/java/net/micode/notes/ui/NoteEditActivity.java
diff --git a/Mi/src/net/micode/notes/ui/NoteEditText.java b/Mi/app/src/main/java/net/micode/notes/ui/NoteEditText.java
similarity index 100%
rename from Mi/src/net/micode/notes/ui/NoteEditText.java
rename to Mi/app/src/main/java/net/micode/notes/ui/NoteEditText.java
diff --git a/Mi/src/net/micode/notes/ui/NoteItemData.java b/Mi/app/src/main/java/net/micode/notes/ui/NoteItemData.java
similarity index 100%
rename from Mi/src/net/micode/notes/ui/NoteItemData.java
rename to Mi/app/src/main/java/net/micode/notes/ui/NoteItemData.java
diff --git a/Mi/src/net/micode/notes/ui/NotesListActivity.java b/Mi/app/src/main/java/net/micode/notes/ui/NotesListActivity.java
similarity index 100%
rename from Mi/src/net/micode/notes/ui/NotesListActivity.java
rename to Mi/app/src/main/java/net/micode/notes/ui/NotesListActivity.java
diff --git a/Mi/src/net/micode/notes/ui/NotesListAdapter.java b/Mi/app/src/main/java/net/micode/notes/ui/NotesListAdapter.java
similarity index 100%
rename from Mi/src/net/micode/notes/ui/NotesListAdapter.java
rename to Mi/app/src/main/java/net/micode/notes/ui/NotesListAdapter.java
diff --git a/Mi/src/net/micode/notes/ui/NotesListItem.java b/Mi/app/src/main/java/net/micode/notes/ui/NotesListItem.java
similarity index 100%
rename from Mi/src/net/micode/notes/ui/NotesListItem.java
rename to Mi/app/src/main/java/net/micode/notes/ui/NotesListItem.java
diff --git a/Mi/src/net/micode/notes/ui/NotesPreferenceActivity.java b/Mi/app/src/main/java/net/micode/notes/ui/NotesPreferenceActivity.java
similarity index 100%
rename from Mi/src/net/micode/notes/ui/NotesPreferenceActivity.java
rename to Mi/app/src/main/java/net/micode/notes/ui/NotesPreferenceActivity.java
diff --git a/Mi/app/src/main/java/net/micode/notes/ui/theme/Color.kt b/Mi/app/src/main/java/net/micode/notes/ui/theme/Color.kt
new file mode 100644
index 0000000..6f9f86f
--- /dev/null
+++ b/Mi/app/src/main/java/net/micode/notes/ui/theme/Color.kt
@@ -0,0 +1,11 @@
+package net.micode.notes.ui.theme
+
+import androidx.compose.ui.graphics.Color
+
+val Purple80 = Color(0xFFD0BCFF)
+val PurpleGrey80 = Color(0xFFCCC2DC)
+val Pink80 = Color(0xFFEFB8C8)
+
+val Purple40 = Color(0xFF6650a4)
+val PurpleGrey40 = Color(0xFF625b71)
+val Pink40 = Color(0xFF7D5260)
\ No newline at end of file
diff --git a/Mi/app/src/main/java/net/micode/notes/ui/theme/Theme.kt b/Mi/app/src/main/java/net/micode/notes/ui/theme/Theme.kt
new file mode 100644
index 0000000..9bd9d5a
--- /dev/null
+++ b/Mi/app/src/main/java/net/micode/notes/ui/theme/Theme.kt
@@ -0,0 +1,58 @@
+package net.micode.notes.ui.theme
+
+import android.app.Activity
+import android.os.Build
+import androidx.compose.foundation.isSystemInDarkTheme
+import androidx.compose.material3.MaterialTheme
+import androidx.compose.material3.darkColorScheme
+import androidx.compose.material3.dynamicDarkColorScheme
+import androidx.compose.material3.dynamicLightColorScheme
+import androidx.compose.material3.lightColorScheme
+import androidx.compose.runtime.Composable
+import androidx.compose.ui.platform.LocalContext
+
+private val DarkColorScheme = darkColorScheme(
+ primary = Purple80,
+ secondary = PurpleGrey80,
+ tertiary = Pink80
+)
+
+private val LightColorScheme = lightColorScheme(
+ primary = Purple40,
+ secondary = PurpleGrey40,
+ tertiary = Pink40
+
+ /* Other default colors to override
+ background = Color(0xFFFFFBFE),
+ surface = Color(0xFFFFFBFE),
+ onPrimary = Color.White,
+ onSecondary = Color.White,
+ onTertiary = Color.White,
+ onBackground = Color(0xFF1C1B1F),
+ onSurface = Color(0xFF1C1B1F),
+ */
+)
+
+@Composable
+fun MinoteTheme(
+ darkTheme: Boolean = isSystemInDarkTheme(),
+ // Dynamic color is available on Android 12+
+ dynamicColor: Boolean = true,
+ content: @Composable () -> Unit
+) {
+ val colorScheme = when {
+ dynamicColor && Build.VERSION.SDK_INT >= Build.VERSION_CODES.S -> {
+ val context = LocalContext.current
+ if (darkTheme) dynamicDarkColorScheme(context) else dynamicLightColorScheme(context)
+ }
+
+ darkTheme -> DarkColorScheme
+ else -> LightColorScheme
+ }
+
+ MaterialTheme(
+ colorScheme = colorScheme,
+ typography = Typography,
+ content = content
+ )
+}
\ No newline at end of file
diff --git a/Mi/app/src/main/java/net/micode/notes/ui/theme/Type.kt b/Mi/app/src/main/java/net/micode/notes/ui/theme/Type.kt
new file mode 100644
index 0000000..febb2f2
--- /dev/null
+++ b/Mi/app/src/main/java/net/micode/notes/ui/theme/Type.kt
@@ -0,0 +1,34 @@
+package net.micode.notes.ui.theme
+
+import androidx.compose.material3.Typography
+import androidx.compose.ui.text.TextStyle
+import androidx.compose.ui.text.font.FontFamily
+import androidx.compose.ui.text.font.FontWeight
+import androidx.compose.ui.unit.sp
+
+// Set of Material typography styles to start with
+val Typography = Typography(
+ bodyLarge = TextStyle(
+ fontFamily = FontFamily.Default,
+ fontWeight = FontWeight.Normal,
+ fontSize = 16.sp,
+ lineHeight = 24.sp,
+ letterSpacing = 0.5.sp
+ )
+ /* Other default text styles to override
+ titleLarge = TextStyle(
+ fontFamily = FontFamily.Default,
+ fontWeight = FontWeight.Normal,
+ fontSize = 22.sp,
+ lineHeight = 28.sp,
+ letterSpacing = 0.sp
+ ),
+ labelSmall = TextStyle(
+ fontFamily = FontFamily.Default,
+ fontWeight = FontWeight.Medium,
+ fontSize = 11.sp,
+ lineHeight = 16.sp,
+ letterSpacing = 0.5.sp
+ )
+ */
+)
\ No newline at end of file
diff --git a/Mi/src/net/micode/notes/widget/NoteWidgetProvider.java b/Mi/app/src/main/java/net/micode/notes/widget/NoteWidgetProvider.java
similarity index 100%
rename from Mi/src/net/micode/notes/widget/NoteWidgetProvider.java
rename to Mi/app/src/main/java/net/micode/notes/widget/NoteWidgetProvider.java
diff --git a/Mi/src/net/micode/notes/widget/NoteWidgetProvider_2x.java b/Mi/app/src/main/java/net/micode/notes/widget/NoteWidgetProvider_2x.java
similarity index 100%
rename from Mi/src/net/micode/notes/widget/NoteWidgetProvider_2x.java
rename to Mi/app/src/main/java/net/micode/notes/widget/NoteWidgetProvider_2x.java
diff --git a/Mi/src/net/micode/notes/widget/NoteWidgetProvider_4x.java b/Mi/app/src/main/java/net/micode/notes/widget/NoteWidgetProvider_4x.java
similarity index 100%
rename from Mi/src/net/micode/notes/widget/NoteWidgetProvider_4x.java
rename to Mi/app/src/main/java/net/micode/notes/widget/NoteWidgetProvider_4x.java
diff --git a/Mi/res/color/primary_text_dark.xml b/Mi/app/src/main/res/color/primary_text_dark.xml
similarity index 100%
rename from Mi/res/color/primary_text_dark.xml
rename to Mi/app/src/main/res/color/primary_text_dark.xml
diff --git a/Mi/res/color/secondary_text_dark.xml b/Mi/app/src/main/res/color/secondary_text_dark.xml
similarity index 100%
rename from Mi/res/color/secondary_text_dark.xml
rename to Mi/app/src/main/res/color/secondary_text_dark.xml
diff --git a/Mi/res/drawable-hdpi/bg_btn_set_color.png b/Mi/app/src/main/res/drawable-hdpi/bg_btn_set_color.png
similarity index 100%
rename from Mi/res/drawable-hdpi/bg_btn_set_color.png
rename to Mi/app/src/main/res/drawable-hdpi/bg_btn_set_color.png
diff --git a/Mi/res/drawable-hdpi/bg_color_btn_mask.png b/Mi/app/src/main/res/drawable-hdpi/bg_color_btn_mask.png
similarity index 100%
rename from Mi/res/drawable-hdpi/bg_color_btn_mask.png
rename to Mi/app/src/main/res/drawable-hdpi/bg_color_btn_mask.png
diff --git a/Mi/res/drawable-hdpi/call_record.png b/Mi/app/src/main/res/drawable-hdpi/call_record.png
similarity index 100%
rename from Mi/res/drawable-hdpi/call_record.png
rename to Mi/app/src/main/res/drawable-hdpi/call_record.png
diff --git a/Mi/res/drawable-hdpi/clock.png b/Mi/app/src/main/res/drawable-hdpi/clock.png
similarity index 100%
rename from Mi/res/drawable-hdpi/clock.png
rename to Mi/app/src/main/res/drawable-hdpi/clock.png
diff --git a/Mi/res/drawable-hdpi/delete.png b/Mi/app/src/main/res/drawable-hdpi/delete.png
similarity index 100%
rename from Mi/res/drawable-hdpi/delete.png
rename to Mi/app/src/main/res/drawable-hdpi/delete.png
diff --git a/Mi/res/drawable-hdpi/dropdown_icon.9.png b/Mi/app/src/main/res/drawable-hdpi/dropdown_icon.9.png
similarity index 100%
rename from Mi/res/drawable-hdpi/dropdown_icon.9.png
rename to Mi/app/src/main/res/drawable-hdpi/dropdown_icon.9.png
diff --git a/Mi/res/drawable-hdpi/edit_blue.9.png b/Mi/app/src/main/res/drawable-hdpi/edit_blue.9.png
similarity index 100%
rename from Mi/res/drawable-hdpi/edit_blue.9.png
rename to Mi/app/src/main/res/drawable-hdpi/edit_blue.9.png
diff --git a/Mi/res/drawable-hdpi/edit_green.9.png b/Mi/app/src/main/res/drawable-hdpi/edit_green.9.png
similarity index 100%
rename from Mi/res/drawable-hdpi/edit_green.9.png
rename to Mi/app/src/main/res/drawable-hdpi/edit_green.9.png
diff --git a/Mi/res/drawable-hdpi/edit_red.9.png b/Mi/app/src/main/res/drawable-hdpi/edit_red.9.png
similarity index 100%
rename from Mi/res/drawable-hdpi/edit_red.9.png
rename to Mi/app/src/main/res/drawable-hdpi/edit_red.9.png
diff --git a/Mi/res/drawable-hdpi/edit_title_blue.9.png b/Mi/app/src/main/res/drawable-hdpi/edit_title_blue.9.png
similarity index 100%
rename from Mi/res/drawable-hdpi/edit_title_blue.9.png
rename to Mi/app/src/main/res/drawable-hdpi/edit_title_blue.9.png
diff --git a/Mi/res/drawable-hdpi/edit_title_green.9.png b/Mi/app/src/main/res/drawable-hdpi/edit_title_green.9.png
similarity index 100%
rename from Mi/res/drawable-hdpi/edit_title_green.9.png
rename to Mi/app/src/main/res/drawable-hdpi/edit_title_green.9.png
diff --git a/Mi/res/drawable-hdpi/edit_title_red.9.png b/Mi/app/src/main/res/drawable-hdpi/edit_title_red.9.png
similarity index 100%
rename from Mi/res/drawable-hdpi/edit_title_red.9.png
rename to Mi/app/src/main/res/drawable-hdpi/edit_title_red.9.png
diff --git a/Mi/res/drawable-hdpi/edit_title_white.9.png b/Mi/app/src/main/res/drawable-hdpi/edit_title_white.9.png
similarity index 100%
rename from Mi/res/drawable-hdpi/edit_title_white.9.png
rename to Mi/app/src/main/res/drawable-hdpi/edit_title_white.9.png
diff --git a/Mi/res/drawable-hdpi/edit_title_yellow.9.png b/Mi/app/src/main/res/drawable-hdpi/edit_title_yellow.9.png
similarity index 100%
rename from Mi/res/drawable-hdpi/edit_title_yellow.9.png
rename to Mi/app/src/main/res/drawable-hdpi/edit_title_yellow.9.png
diff --git a/Mi/res/drawable-hdpi/edit_white.9.png b/Mi/app/src/main/res/drawable-hdpi/edit_white.9.png
similarity index 100%
rename from Mi/res/drawable-hdpi/edit_white.9.png
rename to Mi/app/src/main/res/drawable-hdpi/edit_white.9.png
diff --git a/Mi/res/drawable-hdpi/edit_yellow.9.png b/Mi/app/src/main/res/drawable-hdpi/edit_yellow.9.png
similarity index 100%
rename from Mi/res/drawable-hdpi/edit_yellow.9.png
rename to Mi/app/src/main/res/drawable-hdpi/edit_yellow.9.png
diff --git a/Mi/res/drawable-hdpi/font_large.png b/Mi/app/src/main/res/drawable-hdpi/font_large.png
similarity index 100%
rename from Mi/res/drawable-hdpi/font_large.png
rename to Mi/app/src/main/res/drawable-hdpi/font_large.png
diff --git a/Mi/res/drawable-hdpi/font_normal.png b/Mi/app/src/main/res/drawable-hdpi/font_normal.png
similarity index 100%
rename from Mi/res/drawable-hdpi/font_normal.png
rename to Mi/app/src/main/res/drawable-hdpi/font_normal.png
diff --git a/Mi/res/drawable-hdpi/font_size_selector_bg.9.png b/Mi/app/src/main/res/drawable-hdpi/font_size_selector_bg.9.png
similarity index 100%
rename from Mi/res/drawable-hdpi/font_size_selector_bg.9.png
rename to Mi/app/src/main/res/drawable-hdpi/font_size_selector_bg.9.png
diff --git a/Mi/res/drawable-hdpi/font_small.png b/Mi/app/src/main/res/drawable-hdpi/font_small.png
similarity index 100%
rename from Mi/res/drawable-hdpi/font_small.png
rename to Mi/app/src/main/res/drawable-hdpi/font_small.png
diff --git a/Mi/res/drawable-hdpi/font_super.png b/Mi/app/src/main/res/drawable-hdpi/font_super.png
similarity index 100%
rename from Mi/res/drawable-hdpi/font_super.png
rename to Mi/app/src/main/res/drawable-hdpi/font_super.png
diff --git a/Mi/res/drawable-hdpi/icon_app.png b/Mi/app/src/main/res/drawable-hdpi/icon_app.png
similarity index 100%
rename from Mi/res/drawable-hdpi/icon_app.png
rename to Mi/app/src/main/res/drawable-hdpi/icon_app.png
diff --git a/Mi/res/drawable-hdpi/list_background.png b/Mi/app/src/main/res/drawable-hdpi/list_background.png
similarity index 100%
rename from Mi/res/drawable-hdpi/list_background.png
rename to Mi/app/src/main/res/drawable-hdpi/list_background.png
diff --git a/Mi/res/drawable-hdpi/list_blue_down.9.png b/Mi/app/src/main/res/drawable-hdpi/list_blue_down.9.png
similarity index 100%
rename from Mi/res/drawable-hdpi/list_blue_down.9.png
rename to Mi/app/src/main/res/drawable-hdpi/list_blue_down.9.png
diff --git a/Mi/res/drawable-hdpi/list_blue_middle.9.png b/Mi/app/src/main/res/drawable-hdpi/list_blue_middle.9.png
similarity index 100%
rename from Mi/res/drawable-hdpi/list_blue_middle.9.png
rename to Mi/app/src/main/res/drawable-hdpi/list_blue_middle.9.png
diff --git a/Mi/res/drawable-hdpi/list_blue_single.9.png b/Mi/app/src/main/res/drawable-hdpi/list_blue_single.9.png
similarity index 100%
rename from Mi/res/drawable-hdpi/list_blue_single.9.png
rename to Mi/app/src/main/res/drawable-hdpi/list_blue_single.9.png
diff --git a/Mi/res/drawable-hdpi/list_blue_up.9.png b/Mi/app/src/main/res/drawable-hdpi/list_blue_up.9.png
similarity index 100%
rename from Mi/res/drawable-hdpi/list_blue_up.9.png
rename to Mi/app/src/main/res/drawable-hdpi/list_blue_up.9.png
diff --git a/Mi/res/drawable-hdpi/list_folder.9.png b/Mi/app/src/main/res/drawable-hdpi/list_folder.9.png
similarity index 100%
rename from Mi/res/drawable-hdpi/list_folder.9.png
rename to Mi/app/src/main/res/drawable-hdpi/list_folder.9.png
diff --git a/Mi/res/drawable-hdpi/list_footer_bg.9.png b/Mi/app/src/main/res/drawable-hdpi/list_footer_bg.9.png
similarity index 100%
rename from Mi/res/drawable-hdpi/list_footer_bg.9.png
rename to Mi/app/src/main/res/drawable-hdpi/list_footer_bg.9.png
diff --git a/Mi/res/drawable-hdpi/list_green_down.9.png b/Mi/app/src/main/res/drawable-hdpi/list_green_down.9.png
similarity index 100%
rename from Mi/res/drawable-hdpi/list_green_down.9.png
rename to Mi/app/src/main/res/drawable-hdpi/list_green_down.9.png
diff --git a/Mi/res/drawable-hdpi/list_green_middle.9.png b/Mi/app/src/main/res/drawable-hdpi/list_green_middle.9.png
similarity index 100%
rename from Mi/res/drawable-hdpi/list_green_middle.9.png
rename to Mi/app/src/main/res/drawable-hdpi/list_green_middle.9.png
diff --git a/Mi/res/drawable-hdpi/list_green_single.9.png b/Mi/app/src/main/res/drawable-hdpi/list_green_single.9.png
similarity index 100%
rename from Mi/res/drawable-hdpi/list_green_single.9.png
rename to Mi/app/src/main/res/drawable-hdpi/list_green_single.9.png
diff --git a/Mi/res/drawable-hdpi/list_green_up.9.png b/Mi/app/src/main/res/drawable-hdpi/list_green_up.9.png
similarity index 100%
rename from Mi/res/drawable-hdpi/list_green_up.9.png
rename to Mi/app/src/main/res/drawable-hdpi/list_green_up.9.png
diff --git a/Mi/res/drawable-hdpi/list_red_down.9.png b/Mi/app/src/main/res/drawable-hdpi/list_red_down.9.png
similarity index 100%
rename from Mi/res/drawable-hdpi/list_red_down.9.png
rename to Mi/app/src/main/res/drawable-hdpi/list_red_down.9.png
diff --git a/Mi/res/drawable-hdpi/list_red_middle.9.png b/Mi/app/src/main/res/drawable-hdpi/list_red_middle.9.png
similarity index 100%
rename from Mi/res/drawable-hdpi/list_red_middle.9.png
rename to Mi/app/src/main/res/drawable-hdpi/list_red_middle.9.png
diff --git a/Mi/res/drawable-hdpi/list_red_single.9.png b/Mi/app/src/main/res/drawable-hdpi/list_red_single.9.png
similarity index 100%
rename from Mi/res/drawable-hdpi/list_red_single.9.png
rename to Mi/app/src/main/res/drawable-hdpi/list_red_single.9.png
diff --git a/Mi/res/drawable-hdpi/list_red_up.9.png b/Mi/app/src/main/res/drawable-hdpi/list_red_up.9.png
similarity index 100%
rename from Mi/res/drawable-hdpi/list_red_up.9.png
rename to Mi/app/src/main/res/drawable-hdpi/list_red_up.9.png
diff --git a/Mi/res/drawable-hdpi/list_white_down.9.png b/Mi/app/src/main/res/drawable-hdpi/list_white_down.9.png
similarity index 100%
rename from Mi/res/drawable-hdpi/list_white_down.9.png
rename to Mi/app/src/main/res/drawable-hdpi/list_white_down.9.png
diff --git a/Mi/res/drawable-hdpi/list_white_middle.9.png b/Mi/app/src/main/res/drawable-hdpi/list_white_middle.9.png
similarity index 100%
rename from Mi/res/drawable-hdpi/list_white_middle.9.png
rename to Mi/app/src/main/res/drawable-hdpi/list_white_middle.9.png
diff --git a/Mi/res/drawable-hdpi/list_white_single.9.png b/Mi/app/src/main/res/drawable-hdpi/list_white_single.9.png
similarity index 100%
rename from Mi/res/drawable-hdpi/list_white_single.9.png
rename to Mi/app/src/main/res/drawable-hdpi/list_white_single.9.png
diff --git a/Mi/res/drawable-hdpi/list_white_up.9.png b/Mi/app/src/main/res/drawable-hdpi/list_white_up.9.png
similarity index 100%
rename from Mi/res/drawable-hdpi/list_white_up.9.png
rename to Mi/app/src/main/res/drawable-hdpi/list_white_up.9.png
diff --git a/Mi/res/drawable-hdpi/list_yellow_down.9.png b/Mi/app/src/main/res/drawable-hdpi/list_yellow_down.9.png
similarity index 100%
rename from Mi/res/drawable-hdpi/list_yellow_down.9.png
rename to Mi/app/src/main/res/drawable-hdpi/list_yellow_down.9.png
diff --git a/Mi/res/drawable-hdpi/list_yellow_middle.9.png b/Mi/app/src/main/res/drawable-hdpi/list_yellow_middle.9.png
similarity index 100%
rename from Mi/res/drawable-hdpi/list_yellow_middle.9.png
rename to Mi/app/src/main/res/drawable-hdpi/list_yellow_middle.9.png
diff --git a/Mi/res/drawable-hdpi/list_yellow_single.9.png b/Mi/app/src/main/res/drawable-hdpi/list_yellow_single.9.png
similarity index 100%
rename from Mi/res/drawable-hdpi/list_yellow_single.9.png
rename to Mi/app/src/main/res/drawable-hdpi/list_yellow_single.9.png
diff --git a/Mi/res/drawable-hdpi/list_yellow_up.9.png b/Mi/app/src/main/res/drawable-hdpi/list_yellow_up.9.png
similarity index 100%
rename from Mi/res/drawable-hdpi/list_yellow_up.9.png
rename to Mi/app/src/main/res/drawable-hdpi/list_yellow_up.9.png
diff --git a/Mi/res/drawable-hdpi/menu_delete.png b/Mi/app/src/main/res/drawable-hdpi/menu_delete.png
similarity index 100%
rename from Mi/res/drawable-hdpi/menu_delete.png
rename to Mi/app/src/main/res/drawable-hdpi/menu_delete.png
diff --git a/Mi/res/drawable-hdpi/menu_move.png b/Mi/app/src/main/res/drawable-hdpi/menu_move.png
similarity index 100%
rename from Mi/res/drawable-hdpi/menu_move.png
rename to Mi/app/src/main/res/drawable-hdpi/menu_move.png
diff --git a/Mi/res/drawable-hdpi/new_note_normal.png b/Mi/app/src/main/res/drawable-hdpi/new_note_normal.png
similarity index 100%
rename from Mi/res/drawable-hdpi/new_note_normal.png
rename to Mi/app/src/main/res/drawable-hdpi/new_note_normal.png
diff --git a/Mi/res/drawable-hdpi/new_note_pressed.png b/Mi/app/src/main/res/drawable-hdpi/new_note_pressed.png
similarity index 100%
rename from Mi/res/drawable-hdpi/new_note_pressed.png
rename to Mi/app/src/main/res/drawable-hdpi/new_note_pressed.png
diff --git a/Mi/res/drawable-hdpi/note_edit_color_selector_panel.png b/Mi/app/src/main/res/drawable-hdpi/note_edit_color_selector_panel.png
similarity index 100%
rename from Mi/res/drawable-hdpi/note_edit_color_selector_panel.png
rename to Mi/app/src/main/res/drawable-hdpi/note_edit_color_selector_panel.png
diff --git a/Mi/res/drawable-hdpi/notification.png b/Mi/app/src/main/res/drawable-hdpi/notification.png
similarity index 100%
rename from Mi/res/drawable-hdpi/notification.png
rename to Mi/app/src/main/res/drawable-hdpi/notification.png
diff --git a/Mi/res/drawable-hdpi/search_result.png b/Mi/app/src/main/res/drawable-hdpi/search_result.png
similarity index 100%
rename from Mi/res/drawable-hdpi/search_result.png
rename to Mi/app/src/main/res/drawable-hdpi/search_result.png
diff --git a/Mi/res/drawable-hdpi/selected.png b/Mi/app/src/main/res/drawable-hdpi/selected.png
similarity index 100%
rename from Mi/res/drawable-hdpi/selected.png
rename to Mi/app/src/main/res/drawable-hdpi/selected.png
diff --git a/Mi/res/drawable-hdpi/title_alert.png b/Mi/app/src/main/res/drawable-hdpi/title_alert.png
similarity index 100%
rename from Mi/res/drawable-hdpi/title_alert.png
rename to Mi/app/src/main/res/drawable-hdpi/title_alert.png
diff --git a/Mi/res/drawable-hdpi/title_bar_bg.9.png b/Mi/app/src/main/res/drawable-hdpi/title_bar_bg.9.png
similarity index 100%
rename from Mi/res/drawable-hdpi/title_bar_bg.9.png
rename to Mi/app/src/main/res/drawable-hdpi/title_bar_bg.9.png
diff --git a/Mi/res/drawable-hdpi/widget_2x_blue.png b/Mi/app/src/main/res/drawable-hdpi/widget_2x_blue.png
similarity index 100%
rename from Mi/res/drawable-hdpi/widget_2x_blue.png
rename to Mi/app/src/main/res/drawable-hdpi/widget_2x_blue.png
diff --git a/Mi/res/drawable-hdpi/widget_2x_green.png b/Mi/app/src/main/res/drawable-hdpi/widget_2x_green.png
similarity index 100%
rename from Mi/res/drawable-hdpi/widget_2x_green.png
rename to Mi/app/src/main/res/drawable-hdpi/widget_2x_green.png
diff --git a/Mi/res/drawable-hdpi/widget_2x_red.png b/Mi/app/src/main/res/drawable-hdpi/widget_2x_red.png
similarity index 100%
rename from Mi/res/drawable-hdpi/widget_2x_red.png
rename to Mi/app/src/main/res/drawable-hdpi/widget_2x_red.png
diff --git a/Mi/res/drawable-hdpi/widget_2x_white.png b/Mi/app/src/main/res/drawable-hdpi/widget_2x_white.png
similarity index 100%
rename from Mi/res/drawable-hdpi/widget_2x_white.png
rename to Mi/app/src/main/res/drawable-hdpi/widget_2x_white.png
diff --git a/Mi/res/drawable-hdpi/widget_2x_yellow.png b/Mi/app/src/main/res/drawable-hdpi/widget_2x_yellow.png
similarity index 100%
rename from Mi/res/drawable-hdpi/widget_2x_yellow.png
rename to Mi/app/src/main/res/drawable-hdpi/widget_2x_yellow.png
diff --git a/Mi/res/drawable-hdpi/widget_4x_blue.png b/Mi/app/src/main/res/drawable-hdpi/widget_4x_blue.png
similarity index 100%
rename from Mi/res/drawable-hdpi/widget_4x_blue.png
rename to Mi/app/src/main/res/drawable-hdpi/widget_4x_blue.png
diff --git a/Mi/res/drawable-hdpi/widget_4x_green.png b/Mi/app/src/main/res/drawable-hdpi/widget_4x_green.png
similarity index 100%
rename from Mi/res/drawable-hdpi/widget_4x_green.png
rename to Mi/app/src/main/res/drawable-hdpi/widget_4x_green.png
diff --git a/Mi/res/drawable-hdpi/widget_4x_red.png b/Mi/app/src/main/res/drawable-hdpi/widget_4x_red.png
similarity index 100%
rename from Mi/res/drawable-hdpi/widget_4x_red.png
rename to Mi/app/src/main/res/drawable-hdpi/widget_4x_red.png
diff --git a/Mi/res/drawable-hdpi/widget_4x_white.png b/Mi/app/src/main/res/drawable-hdpi/widget_4x_white.png
similarity index 100%
rename from Mi/res/drawable-hdpi/widget_4x_white.png
rename to Mi/app/src/main/res/drawable-hdpi/widget_4x_white.png
diff --git a/Mi/res/drawable-hdpi/widget_4x_yellow.png b/Mi/app/src/main/res/drawable-hdpi/widget_4x_yellow.png
similarity index 100%
rename from Mi/res/drawable-hdpi/widget_4x_yellow.png
rename to Mi/app/src/main/res/drawable-hdpi/widget_4x_yellow.png
diff --git a/Mi/res/drawable/new_note.xml b/Mi/app/src/main/res/drawable/new_note.xml
similarity index 100%
rename from Mi/res/drawable/new_note.xml
rename to Mi/app/src/main/res/drawable/new_note.xml
diff --git a/Mi/res/layout/account_dialog_title.xml b/Mi/app/src/main/res/layout/account_dialog_title.xml
similarity index 100%
rename from Mi/res/layout/account_dialog_title.xml
rename to Mi/app/src/main/res/layout/account_dialog_title.xml
diff --git a/Mi/res/layout/add_account_text.xml b/Mi/app/src/main/res/layout/add_account_text.xml
similarity index 100%
rename from Mi/res/layout/add_account_text.xml
rename to Mi/app/src/main/res/layout/add_account_text.xml
diff --git a/Mi/res/layout/datetime_picker.xml b/Mi/app/src/main/res/layout/datetime_picker.xml
similarity index 100%
rename from Mi/res/layout/datetime_picker.xml
rename to Mi/app/src/main/res/layout/datetime_picker.xml
diff --git a/Mi/res/layout/dialog_edit_text.xml b/Mi/app/src/main/res/layout/dialog_edit_text.xml
similarity index 100%
rename from Mi/res/layout/dialog_edit_text.xml
rename to Mi/app/src/main/res/layout/dialog_edit_text.xml
diff --git a/Mi/res/layout/folder_list_item.xml b/Mi/app/src/main/res/layout/folder_list_item.xml
similarity index 100%
rename from Mi/res/layout/folder_list_item.xml
rename to Mi/app/src/main/res/layout/folder_list_item.xml
diff --git a/Mi/res/layout/note_edit.xml b/Mi/app/src/main/res/layout/note_edit.xml
similarity index 100%
rename from Mi/res/layout/note_edit.xml
rename to Mi/app/src/main/res/layout/note_edit.xml
diff --git a/Mi/res/layout/note_edit_list_item.xml b/Mi/app/src/main/res/layout/note_edit_list_item.xml
similarity index 100%
rename from Mi/res/layout/note_edit_list_item.xml
rename to Mi/app/src/main/res/layout/note_edit_list_item.xml
diff --git a/Mi/res/layout/note_item.xml b/Mi/app/src/main/res/layout/note_item.xml
similarity index 100%
rename from Mi/res/layout/note_item.xml
rename to Mi/app/src/main/res/layout/note_item.xml
diff --git a/Mi/res/layout/note_list.xml b/Mi/app/src/main/res/layout/note_list.xml
similarity index 100%
rename from Mi/res/layout/note_list.xml
rename to Mi/app/src/main/res/layout/note_list.xml
diff --git a/Mi/res/layout/note_list_dropdown_menu.xml b/Mi/app/src/main/res/layout/note_list_dropdown_menu.xml
similarity index 100%
rename from Mi/res/layout/note_list_dropdown_menu.xml
rename to Mi/app/src/main/res/layout/note_list_dropdown_menu.xml
diff --git a/Mi/res/layout/note_list_footer.xml b/Mi/app/src/main/res/layout/note_list_footer.xml
similarity index 100%
rename from Mi/res/layout/note_list_footer.xml
rename to Mi/app/src/main/res/layout/note_list_footer.xml
diff --git a/Mi/res/layout/settings_header.xml b/Mi/app/src/main/res/layout/settings_header.xml
similarity index 100%
rename from Mi/res/layout/settings_header.xml
rename to Mi/app/src/main/res/layout/settings_header.xml
diff --git a/Mi/res/layout/widget_2x.xml b/Mi/app/src/main/res/layout/widget_2x.xml
similarity index 100%
rename from Mi/res/layout/widget_2x.xml
rename to Mi/app/src/main/res/layout/widget_2x.xml
diff --git a/Mi/res/layout/widget_4x.xml b/Mi/app/src/main/res/layout/widget_4x.xml
similarity index 100%
rename from Mi/res/layout/widget_4x.xml
rename to Mi/app/src/main/res/layout/widget_4x.xml
diff --git a/Mi/res/menu/call_note_edit.xml b/Mi/app/src/main/res/menu/call_note_edit.xml
similarity index 100%
rename from Mi/res/menu/call_note_edit.xml
rename to Mi/app/src/main/res/menu/call_note_edit.xml
diff --git a/Mi/res/menu/call_record_folder.xml b/Mi/app/src/main/res/menu/call_record_folder.xml
similarity index 100%
rename from Mi/res/menu/call_record_folder.xml
rename to Mi/app/src/main/res/menu/call_record_folder.xml
diff --git a/Mi/res/menu/note_edit.xml b/Mi/app/src/main/res/menu/note_edit.xml
similarity index 100%
rename from Mi/res/menu/note_edit.xml
rename to Mi/app/src/main/res/menu/note_edit.xml
diff --git a/Mi/res/menu/note_list.xml b/Mi/app/src/main/res/menu/note_list.xml
similarity index 100%
rename from Mi/res/menu/note_list.xml
rename to Mi/app/src/main/res/menu/note_list.xml
diff --git a/Mi/res/menu/note_list_dropdown.xml b/Mi/app/src/main/res/menu/note_list_dropdown.xml
similarity index 100%
rename from Mi/res/menu/note_list_dropdown.xml
rename to Mi/app/src/main/res/menu/note_list_dropdown.xml
diff --git a/Mi/res/menu/note_list_options.xml b/Mi/app/src/main/res/menu/note_list_options.xml
similarity index 100%
rename from Mi/res/menu/note_list_options.xml
rename to Mi/app/src/main/res/menu/note_list_options.xml
diff --git a/Mi/res/menu/sub_folder.xml b/Mi/app/src/main/res/menu/sub_folder.xml
similarity index 100%
rename from Mi/res/menu/sub_folder.xml
rename to Mi/app/src/main/res/menu/sub_folder.xml
diff --git a/Mi/res/raw-zh-rCN/introduction b/Mi/app/src/main/res/raw-zh-rCN/introduction
similarity index 100%
rename from Mi/res/raw-zh-rCN/introduction
rename to Mi/app/src/main/res/raw-zh-rCN/introduction
diff --git a/Mi/res/raw/introduction b/Mi/app/src/main/res/raw/introduction
similarity index 100%
rename from Mi/res/raw/introduction
rename to Mi/app/src/main/res/raw/introduction
diff --git a/Mi/res/values-zh-rCN/arrays.xml b/Mi/app/src/main/res/values-zh-rCN/arrays.xml
similarity index 100%
rename from Mi/res/values-zh-rCN/arrays.xml
rename to Mi/app/src/main/res/values-zh-rCN/arrays.xml
diff --git a/Mi/res/values-zh-rCN/strings.xml b/Mi/app/src/main/res/values-zh-rCN/strings.xml
similarity index 100%
rename from Mi/res/values-zh-rCN/strings.xml
rename to Mi/app/src/main/res/values-zh-rCN/strings.xml
diff --git a/Mi/res/values-zh-rTW/arrays.xml b/Mi/app/src/main/res/values-zh-rTW/arrays.xml
similarity index 100%
rename from Mi/res/values-zh-rTW/arrays.xml
rename to Mi/app/src/main/res/values-zh-rTW/arrays.xml
diff --git a/Mi/res/values-zh-rTW/strings.xml b/Mi/app/src/main/res/values-zh-rTW/strings.xml
similarity index 100%
rename from Mi/res/values-zh-rTW/strings.xml
rename to Mi/app/src/main/res/values-zh-rTW/strings.xml
diff --git a/Mi/res/values/arrays.xml b/Mi/app/src/main/res/values/arrays.xml
similarity index 100%
rename from Mi/res/values/arrays.xml
rename to Mi/app/src/main/res/values/arrays.xml
diff --git a/Mi/res/values/colors.xml b/Mi/app/src/main/res/values/colors.xml
similarity index 100%
rename from Mi/res/values/colors.xml
rename to Mi/app/src/main/res/values/colors.xml
diff --git a/Mi/res/values/dimens.xml b/Mi/app/src/main/res/values/dimens.xml
similarity index 100%
rename from Mi/res/values/dimens.xml
rename to Mi/app/src/main/res/values/dimens.xml
diff --git a/Mi/res/values/strings.xml b/Mi/app/src/main/res/values/strings.xml
similarity index 100%
rename from Mi/res/values/strings.xml
rename to Mi/app/src/main/res/values/strings.xml
diff --git a/Mi/res/values/styles.xml b/Mi/app/src/main/res/values/styles.xml
similarity index 100%
rename from Mi/res/values/styles.xml
rename to Mi/app/src/main/res/values/styles.xml
diff --git a/Mi/res/xml/preferences.xml b/Mi/app/src/main/res/xml/preferences.xml
similarity index 100%
rename from Mi/res/xml/preferences.xml
rename to Mi/app/src/main/res/xml/preferences.xml
diff --git a/Mi/res/xml/searchable.xml b/Mi/app/src/main/res/xml/searchable.xml
similarity index 100%
rename from Mi/res/xml/searchable.xml
rename to Mi/app/src/main/res/xml/searchable.xml
diff --git a/Mi/res/xml/widget_2x_info.xml b/Mi/app/src/main/res/xml/widget_2x_info.xml
similarity index 100%
rename from Mi/res/xml/widget_2x_info.xml
rename to Mi/app/src/main/res/xml/widget_2x_info.xml
diff --git a/Mi/res/xml/widget_4x_info.xml b/Mi/app/src/main/res/xml/widget_4x_info.xml
similarity index 100%
rename from Mi/res/xml/widget_4x_info.xml
rename to Mi/app/src/main/res/xml/widget_4x_info.xml
diff --git a/Mi/app/src/test/java/net/micode/notes/ExampleUnitTest.kt b/Mi/app/src/test/java/net/micode/notes/ExampleUnitTest.kt
new file mode 100644
index 0000000..9ed8171
--- /dev/null
+++ b/Mi/app/src/test/java/net/micode/notes/ExampleUnitTest.kt
@@ -0,0 +1,17 @@
+package net.micode.notes
+
+import org.junit.Test
+
+import org.junit.Assert.*
+
+/**
+ * Example local unit test, which will execute on the development machine (host).
+ *
+ * See [testing documentation](http://d.android.com/tools/testing).
+ */
+class ExampleUnitTest {
+ @Test
+ fun addition_isCorrect() {
+ assertEquals(4, 2 + 2)
+ }
+}
\ No newline at end of file
diff --git a/Mi/build.gradle.kts b/Mi/build.gradle.kts
new file mode 100644
index 0000000..952b930
--- /dev/null
+++ b/Mi/build.gradle.kts
@@ -0,0 +1,6 @@
+// Top-level build file where you can add configuration options common to all sub-projects/modules.
+plugins {
+ alias(libs.plugins.android.application) apply false
+ alias(libs.plugins.kotlin.android) apply false
+ alias(libs.plugins.kotlin.compose) apply false
+}
\ No newline at end of file
diff --git a/Mi/gradle.properties b/Mi/gradle.properties
new file mode 100644
index 0000000..60c4237
--- /dev/null
+++ b/Mi/gradle.properties
@@ -0,0 +1,24 @@
+# Project-wide Gradle settings.
+# IDE (e.g. Android Studio) users:
+# Gradle settings configured through the IDE *will override*
+# any settings specified in this file.
+# For more details on how to configure your build environment visit
+# http://www.gradle.org/docs/current/userguide/build_environment.html
+# Specifies the JVM arguments used for the daemon process.
+# The setting is particularly useful for tweaking memory settings.
+org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8
+# When configured, Gradle will run in incubating parallel mode.
+# This option should only be used with decoupled projects. For more details, visit
+# https://developer.android.com/r/tools/gradle-multi-project-decoupled-projects
+# org.gradle.parallel=true
+# AndroidX package structure to make it clearer which packages are bundled with the
+# Android operating system, and which are packaged with your app's APK
+# https://developer.android.com/topic/libraries/support-library/androidx-rn
+android.useAndroidX=true
+# Kotlin code style for this project: "official" or "obsolete":
+kotlin.code.style=official
+# Enables namespacing of each library's R class so that its R class includes only the
+# resources declared in the library itself and none from the library's dependencies,
+# thereby reducing the size of the R class for that library
+android.nonTransitiveRClass=true
+android.nonFinalResIds=false
diff --git a/Mi/gradle/libs.versions.toml b/Mi/gradle/libs.versions.toml
new file mode 100644
index 0000000..99a6f8f
--- /dev/null
+++ b/Mi/gradle/libs.versions.toml
@@ -0,0 +1,32 @@
+[versions]
+agp = "8.9.1"
+kotlin = "2.0.21"
+coreKtx = "1.10.1"
+junit = "4.13.2"
+junitVersion = "1.2.1"
+espressoCore = "3.6.1"
+lifecycleRuntimeKtx = "2.6.1"
+activityCompose = "1.8.0"
+composeBom = "2024.09.00"
+
+[libraries]
+androidx-core-ktx = { group = "androidx.core", name = "core-ktx", version.ref = "coreKtx" }
+junit = { group = "junit", name = "junit", version.ref = "junit" }
+androidx-junit = { group = "androidx.test.ext", name = "junit", version.ref = "junitVersion" }
+androidx-espresso-core = { group = "androidx.test.espresso", name = "espresso-core", version.ref = "espressoCore" }
+androidx-lifecycle-runtime-ktx = { group = "androidx.lifecycle", name = "lifecycle-runtime-ktx", version.ref = "lifecycleRuntimeKtx" }
+androidx-activity-compose = { group = "androidx.activity", name = "activity-compose", version.ref = "activityCompose" }
+androidx-compose-bom = { group = "androidx.compose", name = "compose-bom", version.ref = "composeBom" }
+androidx-ui = { group = "androidx.compose.ui", name = "ui" }
+androidx-ui-graphics = { group = "androidx.compose.ui", name = "ui-graphics" }
+androidx-ui-tooling = { group = "androidx.compose.ui", name = "ui-tooling" }
+androidx-ui-tooling-preview = { group = "androidx.compose.ui", name = "ui-tooling-preview" }
+androidx-ui-test-manifest = { group = "androidx.compose.ui", name = "ui-test-manifest" }
+androidx-ui-test-junit4 = { group = "androidx.compose.ui", name = "ui-test-junit4" }
+androidx-material3 = { group = "androidx.compose.material3", name = "material3" }
+
+[plugins]
+android-application = { id = "com.android.application", version.ref = "agp" }
+kotlin-android = { id = "org.jetbrains.kotlin.android", version.ref = "kotlin" }
+kotlin-compose = { id = "org.jetbrains.kotlin.plugin.compose", version.ref = "kotlin" }
+
diff --git a/Mi/gradle/wrapper/gradle-wrapper.jar b/Mi/gradle/wrapper/gradle-wrapper.jar
new file mode 100644
index 0000000..e708b1c
Binary files /dev/null and b/Mi/gradle/wrapper/gradle-wrapper.jar differ
diff --git a/Mi/gradle/wrapper/gradle-wrapper.properties b/Mi/gradle/wrapper/gradle-wrapper.properties
new file mode 100644
index 0000000..eafffce
--- /dev/null
+++ b/Mi/gradle/wrapper/gradle-wrapper.properties
@@ -0,0 +1,6 @@
+#Wed May 14 17:35:56 CST 2025
+distributionBase=GRADLE_USER_HOME
+distributionPath=wrapper/dists
+distributionUrl=https\://services.gradle.org/distributions/gradle-8.11.1-bin.zip
+zipStoreBase=GRADLE_USER_HOME
+zipStorePath=wrapper/dists
diff --git a/Mi/gradlew b/Mi/gradlew
new file mode 100644
index 0000000..4f906e0
--- /dev/null
+++ b/Mi/gradlew
@@ -0,0 +1,185 @@
+#!/usr/bin/env sh
+
+#
+# Copyright 2015 the original author or authors.
+#
+# 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
+#
+# https://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.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+##############################################################################
+##
+## Gradle start up script for UN*X
+##
+##############################################################################
+
+# Attempt to set APP_HOME
+# Resolve links: $0 may be a link
+PRG="$0"
+# Need this for relative symlinks.
+while [ -h "$PRG" ] ; do
+ ls=`ls -ld "$PRG"`
+ link=`expr "$ls" : '.*-> \(.*\)$'`
+ if expr "$link" : '/.*' > /dev/null; then
+ PRG="$link"
+ else
+ PRG=`dirname "$PRG"`"/$link"
+ fi
+done
+SAVED="`pwd`"
+cd "`dirname \"$PRG\"`/" >/dev/null
+APP_HOME="`pwd -P`"
+cd "$SAVED" >/dev/null
+
+APP_NAME="Gradle"
+APP_BASE_NAME=`basename "$0"`
+
+# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
+DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
+
+# Use the maximum available, or set MAX_FD != -1 to use that value.
+MAX_FD="maximum"
+
+warn () {
+ echo "$*"
+}
+
+die () {
+ echo
+ echo "$*"
+ echo
+ exit 1
+}
+
+# OS specific support (must be 'true' or 'false').
+cygwin=false
+msys=false
+darwin=false
+nonstop=false
+case "`uname`" in
+ CYGWIN* )
+ cygwin=true
+ ;;
+ Darwin* )
+ darwin=true
+ ;;
+ MINGW* )
+ msys=true
+ ;;
+ NONSTOP* )
+ nonstop=true
+ ;;
+esac
+
+CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
+
+
+# Determine the Java command to use to start the JVM.
+if [ -n "$JAVA_HOME" ] ; then
+ if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
+ # IBM's JDK on AIX uses strange locations for the executables
+ JAVACMD="$JAVA_HOME/jre/sh/java"
+ else
+ JAVACMD="$JAVA_HOME/bin/java"
+ fi
+ if [ ! -x "$JAVACMD" ] ; then
+ die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
+
+Please set the JAVA_HOME variable in your environment to match the
+location of your Java installation."
+ fi
+else
+ JAVACMD="java"
+ which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
+
+Please set the JAVA_HOME variable in your environment to match the
+location of your Java installation."
+fi
+
+# Increase the maximum file descriptors if we can.
+if [ "$cygwin" = "false" -a "$darwin" = "false" -a "$nonstop" = "false" ] ; then
+ MAX_FD_LIMIT=`ulimit -H -n`
+ if [ $? -eq 0 ] ; then
+ if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
+ MAX_FD="$MAX_FD_LIMIT"
+ fi
+ ulimit -n $MAX_FD
+ if [ $? -ne 0 ] ; then
+ warn "Could not set maximum file descriptor limit: $MAX_FD"
+ fi
+ else
+ warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT"
+ fi
+fi
+
+# For Darwin, add options to specify how the application appears in the dock
+if $darwin; then
+ GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
+fi
+
+# For Cygwin or MSYS, switch paths to Windows format before running java
+if [ "$cygwin" = "true" -o "$msys" = "true" ] ; then
+ APP_HOME=`cygpath --path --mixed "$APP_HOME"`
+ CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
+
+ JAVACMD=`cygpath --unix "$JAVACMD"`
+
+ # We build the pattern for arguments to be converted via cygpath
+ ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
+ SEP=""
+ for dir in $ROOTDIRSRAW ; do
+ ROOTDIRS="$ROOTDIRS$SEP$dir"
+ SEP="|"
+ done
+ OURCYGPATTERN="(^($ROOTDIRS))"
+ # Add a user-defined pattern to the cygpath arguments
+ if [ "$GRADLE_CYGPATTERN" != "" ] ; then
+ OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)"
+ fi
+ # Now convert the arguments - kludge to limit ourselves to /bin/sh
+ i=0
+ for arg in "$@" ; do
+ CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
+ CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option
+
+ if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition
+ eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
+ else
+ eval `echo args$i`="\"$arg\""
+ fi
+ i=`expr $i + 1`
+ done
+ case $i in
+ 0) set -- ;;
+ 1) set -- "$args0" ;;
+ 2) set -- "$args0" "$args1" ;;
+ 3) set -- "$args0" "$args1" "$args2" ;;
+ 4) set -- "$args0" "$args1" "$args2" "$args3" ;;
+ 5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;
+ 6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;
+ 7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;
+ 8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;
+ 9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;
+ esac
+fi
+
+# Escape application args
+save () {
+ for i do printf %s\\n "$i" | sed "s/'/'\\\\''/g;1s/^/'/;\$s/\$/' \\\\/" ; done
+ echo " "
+}
+APP_ARGS=`save "$@"`
+
+# Collect all arguments for the java command, following the shell quoting and substitution rules
+eval set -- $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS "\"-Dorg.gradle.appname=$APP_BASE_NAME\"" -classpath "\"$CLASSPATH\"" org.gradle.wrapper.GradleWrapperMain "$APP_ARGS"
+
+exec "$JAVACMD" "$@"
diff --git a/Mi/gradlew.bat b/Mi/gradlew.bat
new file mode 100644
index 0000000..107acd3
--- /dev/null
+++ b/Mi/gradlew.bat
@@ -0,0 +1,89 @@
+@rem
+@rem Copyright 2015 the original author or authors.
+@rem
+@rem Licensed under the Apache License, Version 2.0 (the "License");
+@rem you may not use this file except in compliance with the License.
+@rem You may obtain a copy of the License at
+@rem
+@rem https://www.apache.org/licenses/LICENSE-2.0
+@rem
+@rem Unless required by applicable law or agreed to in writing, software
+@rem distributed under the License is distributed on an "AS IS" BASIS,
+@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+@rem See the License for the specific language governing permissions and
+@rem limitations under the License.
+@rem
+
+@if "%DEBUG%" == "" @echo off
+@rem ##########################################################################
+@rem
+@rem Gradle startup script for Windows
+@rem
+@rem ##########################################################################
+
+@rem Set local scope for the variables with windows NT shell
+if "%OS%"=="Windows_NT" setlocal
+
+set DIRNAME=%~dp0
+if "%DIRNAME%" == "" set DIRNAME=.
+set APP_BASE_NAME=%~n0
+set APP_HOME=%DIRNAME%
+
+@rem Resolve any "." and ".." in APP_HOME to make it shorter.
+for %%i in ("%APP_HOME%") do set APP_HOME=%%~fi
+
+@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
+set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m"
+
+@rem Find java.exe
+if defined JAVA_HOME goto findJavaFromJavaHome
+
+set JAVA_EXE=java.exe
+%JAVA_EXE% -version >NUL 2>&1
+if "%ERRORLEVEL%" == "0" goto execute
+
+echo.
+echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
+echo.
+echo Please set the JAVA_HOME variable in your environment to match the
+echo location of your Java installation.
+
+goto fail
+
+:findJavaFromJavaHome
+set JAVA_HOME=%JAVA_HOME:"=%
+set JAVA_EXE=%JAVA_HOME%/bin/java.exe
+
+if exist "%JAVA_EXE%" goto execute
+
+echo.
+echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
+echo.
+echo Please set the JAVA_HOME variable in your environment to match the
+echo location of your Java installation.
+
+goto fail
+
+:execute
+@rem Setup the command line
+
+set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
+
+
+@rem Execute Gradle
+"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %*
+
+:end
+@rem End local scope for the variables with windows NT shell
+if "%ERRORLEVEL%"=="0" goto mainEnd
+
+:fail
+rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
+rem the _cmd.exe /c_ return code!
+if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
+exit /b 1
+
+:mainEnd
+if "%OS%"=="Windows_NT" endlocal
+
+:omega
diff --git a/Mi/settings.gradle.kts b/Mi/settings.gradle.kts
new file mode 100644
index 0000000..10d2c02
--- /dev/null
+++ b/Mi/settings.gradle.kts
@@ -0,0 +1,24 @@
+pluginManagement {
+ repositories {
+ google {
+ content {
+ includeGroupByRegex("com\\.android.*")
+ includeGroupByRegex("com\\.google.*")
+ includeGroupByRegex("androidx.*")
+ }
+ }
+ mavenCentral()
+ gradlePluginPortal()
+ }
+}
+dependencyResolutionManagement {
+ repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
+ repositories {
+ google()
+ mavenCentral()
+ }
+}
+
+rootProject.name = "minote"
+include(":app")
+
\ No newline at end of file