diff --git a/MiNote/.gitignore b/MiNote/.gitignore new file mode 100644 index 0000000..aa724b7 --- /dev/null +++ b/MiNote/.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/MiNote/.idea/.gitignore b/MiNote/.idea/.gitignore new file mode 100644 index 0000000..26d3352 --- /dev/null +++ b/MiNote/.idea/.gitignore @@ -0,0 +1,3 @@ +# Default ignored files +/shelf/ +/workspace.xml diff --git a/MiNote/.idea/compiler.xml b/MiNote/.idea/compiler.xml new file mode 100644 index 0000000..b589d56 --- /dev/null +++ b/MiNote/.idea/compiler.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/MiNote/.idea/deploymentTargetDropDown.xml b/MiNote/.idea/deploymentTargetDropDown.xml new file mode 100644 index 0000000..0c0c338 --- /dev/null +++ b/MiNote/.idea/deploymentTargetDropDown.xml @@ -0,0 +1,10 @@ + + + + + + + + + + \ No newline at end of file diff --git a/MiNote/.idea/gradle.xml b/MiNote/.idea/gradle.xml new file mode 100644 index 0000000..a4a7adb --- /dev/null +++ b/MiNote/.idea/gradle.xml @@ -0,0 +1,24 @@ + + + + + + + \ No newline at end of file diff --git a/MiNote/.idea/inspectionProfiles/Project_Default.xml b/MiNote/.idea/inspectionProfiles/Project_Default.xml new file mode 100644 index 0000000..7965361 --- /dev/null +++ b/MiNote/.idea/inspectionProfiles/Project_Default.xml @@ -0,0 +1,6 @@ + + + + \ No newline at end of file diff --git a/MiNote/.idea/migrations.xml b/MiNote/.idea/migrations.xml new file mode 100644 index 0000000..f8051a6 --- /dev/null +++ b/MiNote/.idea/migrations.xml @@ -0,0 +1,10 @@ + + + + + + \ No newline at end of file diff --git a/MiNote/.idea/misc.xml b/MiNote/.idea/misc.xml new file mode 100644 index 0000000..8978d23 --- /dev/null +++ b/MiNote/.idea/misc.xml @@ -0,0 +1,9 @@ + + + + + + + + \ No newline at end of file diff --git a/MiNote/.idea/vcs.xml b/MiNote/.idea/vcs.xml new file mode 100644 index 0000000..6c0b863 --- /dev/null +++ b/MiNote/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/MiNote/app/.gitignore b/MiNote/app/.gitignore new file mode 100644 index 0000000..42afabf --- /dev/null +++ b/MiNote/app/.gitignore @@ -0,0 +1 @@ +/build \ No newline at end of file diff --git a/MiNote/app/build.gradle.kts b/MiNote/app/build.gradle.kts new file mode 100644 index 0000000..9063749 --- /dev/null +++ b/MiNote/app/build.gradle.kts @@ -0,0 +1,59 @@ +plugins { + alias(libs.plugins.androidApplication) +} + +android { + namespace = "net.micode.notes" + compileSdk = 34 + + defaultConfig { + applicationId = "net.micode.notes" + minSdk = 24 + targetSdk = 34 + 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_1_8 + targetCompatibility = JavaVersion.VERSION_1_8 + } + + 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(libs.appcompat) + implementation(libs.material) + implementation(libs.activity) + implementation(libs.constraintlayout) +// implementation(fileTree(mapOf( +// "dir" to "E:\\AndroidProjects\\MiNote_Rewrite\\MiNote\\httpcomponents-client-4.5.14-bin\\lib", +// "include" to listOf("*.aar", "*.jar"), +// "exclude" to listOf() +// ))) + implementation(files("E:/AndroidProjects/MiNote_Rewrite/MiNote/httpcomponents-client-4.5.14-bin/lib/httpclient-osgi-4.5.14.jar")) + implementation(files("E:/AndroidProjects/MiNote_Rewrite/MiNote/httpcomponents-client-4.5.14-bin/lib/httpclient-win-4.5.14.jar")) + implementation(files("E:/AndroidProjects/MiNote_Rewrite/MiNote/httpcomponents-client-4.5.14-bin/lib/httpcore-4.4.16.jar")) + testImplementation(libs.junit) + androidTestImplementation(libs.ext.junit) + androidTestImplementation(libs.espresso.core) +} \ No newline at end of file diff --git a/MiNote/app/proguard-rules.pro b/MiNote/app/proguard-rules.pro new file mode 100644 index 0000000..481bb43 --- /dev/null +++ b/MiNote/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/MiNote/app/src/androidTest/java/net/micode/notes/ExampleInstrumentedTest.java b/MiNote/app/src/androidTest/java/net/micode/notes/ExampleInstrumentedTest.java new file mode 100644 index 0000000..a889a75 --- /dev/null +++ b/MiNote/app/src/androidTest/java/net/micode/notes/ExampleInstrumentedTest.java @@ -0,0 +1,26 @@ +package net.micode.notes; + +import android.content.Context; + +import androidx.test.platform.app.InstrumentationRegistry; +import androidx.test.ext.junit.runners.AndroidJUnit4; + +import org.junit.Test; +import org.junit.runner.RunWith; + +import static org.junit.Assert.*; + +/** + * Instrumented test, which will execute on an Android device. + * + * @see Testing documentation + */ +@RunWith(AndroidJUnit4.class) +public class ExampleInstrumentedTest { + @Test + public void useAppContext() { + // Context of the app under test. + Context appContext = InstrumentationRegistry.getInstrumentation().getTargetContext(); + assertEquals("net.micode.notes", appContext.getPackageName()); + } +} \ No newline at end of file diff --git a/MiNote/AndroidManifest.xml b/MiNote/app/src/main/AndroidManifest.xml similarity index 77% rename from MiNote/AndroidManifest.xml rename to MiNote/app/src/main/AndroidManifest.xml index e5c7d47..5a89a7e 100644 --- a/MiNote/AndroidManifest.xml +++ b/MiNote/app/src/main/AndroidManifest.xml @@ -1,27 +1,8 @@ - - - - - + xmlns:tools="http://schemas.android.com/tools"> + @@ -33,8 +14,16 @@ + android:allowBackup="true" + android:dataExtractionRules="@xml/data_extraction_rules" + android:fullBackupContent="@xml/backup_rules" + android:icon="@mipmap/ic_launcher" + android:label="@string/app_name" + android:roundIcon="@mipmap/ic_launcher_round" + android:supportsRtl="true" + android:theme="@style/Theme.MiNote" + tools:targetApi="31"> + + android:windowSoftInputMode="adjustPan" + android:exported="true"> @@ -54,9 +44,10 @@ android:name=".ui.NoteEditActivity" android:configChanges="keyboardHidden|orientation|screenSize" android:launchMode="singleTop" - android:theme="@style/NoteTheme" > + android:theme="@style/NoteTheme" + android:exported="true"> - + @@ -80,6 +71,7 @@ android:resource="@xml/searchable" /> + + android:label="@string/app_widget2x2" + android:exported="true"> @@ -100,7 +93,8 @@ + android:label="@string/app_widget4x4" + android:exported="true"> @@ -113,7 +107,8 @@ android:resource="@xml/widget_4x_info" /> - + @@ -146,5 +141,17 @@ + + + + + + + + + + + - + + \ No newline at end of file diff --git a/MiNote/app/src/main/java/net/micode/notes/MainActivity.java b/MiNote/app/src/main/java/net/micode/notes/MainActivity.java new file mode 100644 index 0000000..8091753 --- /dev/null +++ b/MiNote/app/src/main/java/net/micode/notes/MainActivity.java @@ -0,0 +1,24 @@ +package net.micode.notes; + +import android.os.Bundle; + +import androidx.activity.EdgeToEdge; +import androidx.appcompat.app.AppCompatActivity; +import androidx.core.graphics.Insets; +import androidx.core.view.ViewCompat; +import androidx.core.view.WindowInsetsCompat; + +public class MainActivity extends AppCompatActivity { + + @Override + protected void onCreate(Bundle savedInstanceState) { + super.onCreate(savedInstanceState); + EdgeToEdge.enable(this); + setContentView(R.layout.activity_main); + ViewCompat.setOnApplyWindowInsetsListener(findViewById(R.id.main), (v, insets) -> { + Insets systemBars = insets.getInsets(WindowInsetsCompat.Type.systemBars()); + v.setPadding(systemBars.left, systemBars.top, systemBars.right, systemBars.bottom); + return insets; + }); + } +} \ No newline at end of file diff --git a/MiNote/src/net/micode/notes/data/Contact.java b/MiNote/app/src/main/java/net/micode/notes/data/Contact.java similarity index 100% rename from MiNote/src/net/micode/notes/data/Contact.java rename to MiNote/app/src/main/java/net/micode/notes/data/Contact.java diff --git a/MiNote/src/net/micode/notes/data/Notes.java b/MiNote/app/src/main/java/net/micode/notes/data/Notes.java similarity index 100% rename from MiNote/src/net/micode/notes/data/Notes.java rename to MiNote/app/src/main/java/net/micode/notes/data/Notes.java diff --git a/MiNote/src/net/micode/notes/data/NotesDatabaseHelper.java b/MiNote/app/src/main/java/net/micode/notes/data/NotesDatabaseHelper.java similarity index 100% rename from MiNote/src/net/micode/notes/data/NotesDatabaseHelper.java rename to MiNote/app/src/main/java/net/micode/notes/data/NotesDatabaseHelper.java diff --git a/MiNote/src/net/micode/notes/data/NotesProvider.java b/MiNote/app/src/main/java/net/micode/notes/data/NotesProvider.java similarity index 100% rename from MiNote/src/net/micode/notes/data/NotesProvider.java rename to MiNote/app/src/main/java/net/micode/notes/data/NotesProvider.java diff --git a/MiNote/src/net/micode/notes/gtask/data/MetaData.java b/MiNote/app/src/main/java/net/micode/notes/gtask/data/MetaData.java similarity index 100% rename from MiNote/src/net/micode/notes/gtask/data/MetaData.java rename to MiNote/app/src/main/java/net/micode/notes/gtask/data/MetaData.java diff --git a/MiNote/src/net/micode/notes/gtask/data/Node.java b/MiNote/app/src/main/java/net/micode/notes/gtask/data/Node.java similarity index 100% rename from MiNote/src/net/micode/notes/gtask/data/Node.java rename to MiNote/app/src/main/java/net/micode/notes/gtask/data/Node.java diff --git a/MiNote/src/net/micode/notes/gtask/data/SqlData.java b/MiNote/app/src/main/java/net/micode/notes/gtask/data/SqlData.java similarity index 100% rename from MiNote/src/net/micode/notes/gtask/data/SqlData.java rename to MiNote/app/src/main/java/net/micode/notes/gtask/data/SqlData.java diff --git a/MiNote/src/net/micode/notes/gtask/data/SqlNote.java b/MiNote/app/src/main/java/net/micode/notes/gtask/data/SqlNote.java similarity index 100% rename from MiNote/src/net/micode/notes/gtask/data/SqlNote.java rename to MiNote/app/src/main/java/net/micode/notes/gtask/data/SqlNote.java diff --git a/MiNote/src/net/micode/notes/gtask/data/Task.java b/MiNote/app/src/main/java/net/micode/notes/gtask/data/Task.java similarity index 100% rename from MiNote/src/net/micode/notes/gtask/data/Task.java rename to MiNote/app/src/main/java/net/micode/notes/gtask/data/Task.java diff --git a/MiNote/src/net/micode/notes/gtask/data/TaskList.java b/MiNote/app/src/main/java/net/micode/notes/gtask/data/TaskList.java similarity index 100% rename from MiNote/src/net/micode/notes/gtask/data/TaskList.java rename to MiNote/app/src/main/java/net/micode/notes/gtask/data/TaskList.java diff --git a/MiNote/src/net/micode/notes/gtask/exception/ActionFailureException.java b/MiNote/app/src/main/java/net/micode/notes/gtask/exception/ActionFailureException.java similarity index 100% rename from MiNote/src/net/micode/notes/gtask/exception/ActionFailureException.java rename to MiNote/app/src/main/java/net/micode/notes/gtask/exception/ActionFailureException.java diff --git a/MiNote/src/net/micode/notes/gtask/exception/NetworkFailureException.java b/MiNote/app/src/main/java/net/micode/notes/gtask/exception/NetworkFailureException.java similarity index 100% rename from MiNote/src/net/micode/notes/gtask/exception/NetworkFailureException.java rename to MiNote/app/src/main/java/net/micode/notes/gtask/exception/NetworkFailureException.java diff --git a/MiNote/src/net/micode/notes/gtask/remote/GTaskASyncTask.java b/MiNote/app/src/main/java/net/micode/notes/gtask/remote/GTaskASyncTask.java similarity index 65% rename from MiNote/src/net/micode/notes/gtask/remote/GTaskASyncTask.java rename to MiNote/app/src/main/java/net/micode/notes/gtask/remote/GTaskASyncTask.java index b3b61e7..52c898a 100644 --- a/MiNote/src/net/micode/notes/gtask/remote/GTaskASyncTask.java +++ b/MiNote/app/src/main/java/net/micode/notes/gtask/remote/GTaskASyncTask.java @@ -63,24 +63,43 @@ 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); - - } else { - pendingIntent = PendingIntent.getActivity(mContext, 0, new Intent(mContext, - NotesListActivity.class), 0); - } - notification.setLatestEventInfo(mContext, mContext.getString(R.string.app_name), content, - pendingIntent); - mNotifiManager.notify(GTASK_SYNC_NOTIFICATION_ID, notification); +// 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); +// +// } else { +// pendingIntent = PendingIntent.getActivity(mContext, 0, new Intent(mContext, +// NotesListActivity.class), 0); +// } +// notification.setLatestEventInfo(mContext, mContext.getString(R.string.app_name), content, +// pendingIntent); +// mNotifiManager.notify(GTASK_SYNC_NOTIFICATION_ID, notification); +// } +private void showNotification(int tickerId, String content) { + PendingIntent pendingIntent; + if (tickerId != R.string.ticker_success) { + pendingIntent = PendingIntent.getActivity(mContext, 0, new Intent(mContext, + NotesPreferenceActivity.class), PendingIntent.FLAG_IMMUTABLE); + } else { + pendingIntent = PendingIntent.getActivity(mContext, 0, new Intent(mContext, + NotesListActivity.class), PendingIntent.FLAG_IMMUTABLE); } + 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); +} @Override protected Integer doInBackground(Void... unused) { diff --git a/MiNote/src/net/micode/notes/gtask/remote/GTaskClient.java b/MiNote/app/src/main/java/net/micode/notes/gtask/remote/GTaskClient.java similarity index 100% rename from MiNote/src/net/micode/notes/gtask/remote/GTaskClient.java rename to MiNote/app/src/main/java/net/micode/notes/gtask/remote/GTaskClient.java diff --git a/MiNote/src/net/micode/notes/gtask/remote/GTaskManager.java b/MiNote/app/src/main/java/net/micode/notes/gtask/remote/GTaskManager.java similarity index 100% rename from MiNote/src/net/micode/notes/gtask/remote/GTaskManager.java rename to MiNote/app/src/main/java/net/micode/notes/gtask/remote/GTaskManager.java diff --git a/MiNote/src/net/micode/notes/gtask/remote/GTaskSyncService.java b/MiNote/app/src/main/java/net/micode/notes/gtask/remote/GTaskSyncService.java similarity index 100% rename from MiNote/src/net/micode/notes/gtask/remote/GTaskSyncService.java rename to MiNote/app/src/main/java/net/micode/notes/gtask/remote/GTaskSyncService.java diff --git a/MiNote/src/net/micode/notes/model/Note.java b/MiNote/app/src/main/java/net/micode/notes/model/Note.java similarity index 100% rename from MiNote/src/net/micode/notes/model/Note.java rename to MiNote/app/src/main/java/net/micode/notes/model/Note.java diff --git a/MiNote/src/net/micode/notes/model/WorkingNote.java b/MiNote/app/src/main/java/net/micode/notes/model/WorkingNote.java similarity index 100% rename from MiNote/src/net/micode/notes/model/WorkingNote.java rename to MiNote/app/src/main/java/net/micode/notes/model/WorkingNote.java diff --git a/MiNote/src/net/micode/notes/tool/BackupUtils.java b/MiNote/app/src/main/java/net/micode/notes/tool/BackupUtils.java similarity index 100% rename from MiNote/src/net/micode/notes/tool/BackupUtils.java rename to MiNote/app/src/main/java/net/micode/notes/tool/BackupUtils.java diff --git a/MiNote/src/net/micode/notes/tool/DataUtils.java b/MiNote/app/src/main/java/net/micode/notes/tool/DataUtils.java similarity index 100% rename from MiNote/src/net/micode/notes/tool/DataUtils.java rename to MiNote/app/src/main/java/net/micode/notes/tool/DataUtils.java diff --git a/MiNote/src/net/micode/notes/tool/GTaskStringUtils.java b/MiNote/app/src/main/java/net/micode/notes/tool/GTaskStringUtils.java similarity index 100% rename from MiNote/src/net/micode/notes/tool/GTaskStringUtils.java rename to MiNote/app/src/main/java/net/micode/notes/tool/GTaskStringUtils.java diff --git a/MiNote/src/net/micode/notes/tool/ResourceParser.java b/MiNote/app/src/main/java/net/micode/notes/tool/ResourceParser.java similarity index 100% rename from MiNote/src/net/micode/notes/tool/ResourceParser.java rename to MiNote/app/src/main/java/net/micode/notes/tool/ResourceParser.java diff --git a/MiNote/src/net/micode/notes/ui/AlarmAlertActivity.java b/MiNote/app/src/main/java/net/micode/notes/ui/AlarmAlertActivity.java similarity index 100% rename from MiNote/src/net/micode/notes/ui/AlarmAlertActivity.java rename to MiNote/app/src/main/java/net/micode/notes/ui/AlarmAlertActivity.java diff --git a/MiNote/src/net/micode/notes/ui/AlarmInitReceiver.java b/MiNote/app/src/main/java/net/micode/notes/ui/AlarmInitReceiver.java similarity index 100% rename from MiNote/src/net/micode/notes/ui/AlarmInitReceiver.java rename to MiNote/app/src/main/java/net/micode/notes/ui/AlarmInitReceiver.java diff --git a/MiNote/src/net/micode/notes/ui/AlarmReceiver.java b/MiNote/app/src/main/java/net/micode/notes/ui/AlarmReceiver.java similarity index 100% rename from MiNote/src/net/micode/notes/ui/AlarmReceiver.java rename to MiNote/app/src/main/java/net/micode/notes/ui/AlarmReceiver.java diff --git a/MiNote/src/net/micode/notes/ui/DateTimePicker.java b/MiNote/app/src/main/java/net/micode/notes/ui/DateTimePicker.java similarity index 100% rename from MiNote/src/net/micode/notes/ui/DateTimePicker.java rename to MiNote/app/src/main/java/net/micode/notes/ui/DateTimePicker.java diff --git a/MiNote/src/net/micode/notes/ui/DateTimePickerDialog.java b/MiNote/app/src/main/java/net/micode/notes/ui/DateTimePickerDialog.java similarity index 100% rename from MiNote/src/net/micode/notes/ui/DateTimePickerDialog.java rename to MiNote/app/src/main/java/net/micode/notes/ui/DateTimePickerDialog.java diff --git a/MiNote/src/net/micode/notes/ui/DropdownMenu.java b/MiNote/app/src/main/java/net/micode/notes/ui/DropdownMenu.java similarity index 100% rename from MiNote/src/net/micode/notes/ui/DropdownMenu.java rename to MiNote/app/src/main/java/net/micode/notes/ui/DropdownMenu.java diff --git a/MiNote/src/net/micode/notes/ui/FoldersListAdapter.java b/MiNote/app/src/main/java/net/micode/notes/ui/FoldersListAdapter.java similarity index 100% rename from MiNote/src/net/micode/notes/ui/FoldersListAdapter.java rename to MiNote/app/src/main/java/net/micode/notes/ui/FoldersListAdapter.java diff --git a/MiNote/src/net/micode/notes/ui/NoteEditActivity.java b/MiNote/app/src/main/java/net/micode/notes/ui/NoteEditActivity.java similarity index 100% rename from MiNote/src/net/micode/notes/ui/NoteEditActivity.java rename to MiNote/app/src/main/java/net/micode/notes/ui/NoteEditActivity.java diff --git a/MiNote/src/net/micode/notes/ui/NoteEditText.java b/MiNote/app/src/main/java/net/micode/notes/ui/NoteEditText.java similarity index 100% rename from MiNote/src/net/micode/notes/ui/NoteEditText.java rename to MiNote/app/src/main/java/net/micode/notes/ui/NoteEditText.java diff --git a/MiNote/src/net/micode/notes/ui/NoteItemData.java b/MiNote/app/src/main/java/net/micode/notes/ui/NoteItemData.java similarity index 100% rename from MiNote/src/net/micode/notes/ui/NoteItemData.java rename to MiNote/app/src/main/java/net/micode/notes/ui/NoteItemData.java diff --git a/MiNote/src/net/micode/notes/ui/NotesListActivity.java b/MiNote/app/src/main/java/net/micode/notes/ui/NotesListActivity.java similarity index 100% rename from MiNote/src/net/micode/notes/ui/NotesListActivity.java rename to MiNote/app/src/main/java/net/micode/notes/ui/NotesListActivity.java diff --git a/MiNote/src/net/micode/notes/ui/NotesListAdapter.java b/MiNote/app/src/main/java/net/micode/notes/ui/NotesListAdapter.java similarity index 100% rename from MiNote/src/net/micode/notes/ui/NotesListAdapter.java rename to MiNote/app/src/main/java/net/micode/notes/ui/NotesListAdapter.java diff --git a/MiNote/src/net/micode/notes/ui/NotesListItem.java b/MiNote/app/src/main/java/net/micode/notes/ui/NotesListItem.java similarity index 100% rename from MiNote/src/net/micode/notes/ui/NotesListItem.java rename to MiNote/app/src/main/java/net/micode/notes/ui/NotesListItem.java diff --git a/MiNote/src/net/micode/notes/ui/NotesPreferenceActivity.java b/MiNote/app/src/main/java/net/micode/notes/ui/NotesPreferenceActivity.java similarity index 100% rename from MiNote/src/net/micode/notes/ui/NotesPreferenceActivity.java rename to MiNote/app/src/main/java/net/micode/notes/ui/NotesPreferenceActivity.java diff --git a/MiNote/src/net/micode/notes/widget/NoteWidgetProvider.java b/MiNote/app/src/main/java/net/micode/notes/widget/NoteWidgetProvider.java similarity index 100% rename from MiNote/src/net/micode/notes/widget/NoteWidgetProvider.java rename to MiNote/app/src/main/java/net/micode/notes/widget/NoteWidgetProvider.java diff --git a/MiNote/src/net/micode/notes/widget/NoteWidgetProvider_2x.java b/MiNote/app/src/main/java/net/micode/notes/widget/NoteWidgetProvider_2x.java similarity index 100% rename from MiNote/src/net/micode/notes/widget/NoteWidgetProvider_2x.java rename to MiNote/app/src/main/java/net/micode/notes/widget/NoteWidgetProvider_2x.java diff --git a/MiNote/src/net/micode/notes/widget/NoteWidgetProvider_4x.java b/MiNote/app/src/main/java/net/micode/notes/widget/NoteWidgetProvider_4x.java similarity index 100% rename from MiNote/src/net/micode/notes/widget/NoteWidgetProvider_4x.java rename to MiNote/app/src/main/java/net/micode/notes/widget/NoteWidgetProvider_4x.java diff --git a/MiNote/res/color/primary_text_dark.xml b/MiNote/app/src/main/res/color/primary_text_dark.xml similarity index 100% rename from MiNote/res/color/primary_text_dark.xml rename to MiNote/app/src/main/res/color/primary_text_dark.xml diff --git a/MiNote/res/color/secondary_text_dark.xml b/MiNote/app/src/main/res/color/secondary_text_dark.xml similarity index 100% rename from MiNote/res/color/secondary_text_dark.xml rename to MiNote/app/src/main/res/color/secondary_text_dark.xml diff --git a/MiNote/res/drawable-hdpi/bg_btn_set_color.png b/MiNote/app/src/main/res/drawable-hdpi/bg_btn_set_color.png similarity index 100% rename from MiNote/res/drawable-hdpi/bg_btn_set_color.png rename to MiNote/app/src/main/res/drawable-hdpi/bg_btn_set_color.png diff --git a/MiNote/res/drawable-hdpi/bg_color_btn_mask.png b/MiNote/app/src/main/res/drawable-hdpi/bg_color_btn_mask.png similarity index 100% rename from MiNote/res/drawable-hdpi/bg_color_btn_mask.png rename to MiNote/app/src/main/res/drawable-hdpi/bg_color_btn_mask.png diff --git a/MiNote/res/drawable-hdpi/call_record.png b/MiNote/app/src/main/res/drawable-hdpi/call_record.png similarity index 100% rename from MiNote/res/drawable-hdpi/call_record.png rename to MiNote/app/src/main/res/drawable-hdpi/call_record.png diff --git a/MiNote/res/drawable-hdpi/clock.png b/MiNote/app/src/main/res/drawable-hdpi/clock.png similarity index 100% rename from MiNote/res/drawable-hdpi/clock.png rename to MiNote/app/src/main/res/drawable-hdpi/clock.png diff --git a/MiNote/res/drawable-hdpi/delete.png b/MiNote/app/src/main/res/drawable-hdpi/delete.png similarity index 100% rename from MiNote/res/drawable-hdpi/delete.png rename to MiNote/app/src/main/res/drawable-hdpi/delete.png diff --git a/MiNote/res/drawable-hdpi/dropdown_icon.9.png b/MiNote/app/src/main/res/drawable-hdpi/dropdown_icon.9.png similarity index 100% rename from MiNote/res/drawable-hdpi/dropdown_icon.9.png rename to MiNote/app/src/main/res/drawable-hdpi/dropdown_icon.9.png diff --git a/MiNote/res/drawable-hdpi/edit_blue.9.png b/MiNote/app/src/main/res/drawable-hdpi/edit_blue.9.png similarity index 100% rename from MiNote/res/drawable-hdpi/edit_blue.9.png rename to MiNote/app/src/main/res/drawable-hdpi/edit_blue.9.png diff --git a/MiNote/res/drawable-hdpi/edit_green.9.png b/MiNote/app/src/main/res/drawable-hdpi/edit_green.9.png similarity index 100% rename from MiNote/res/drawable-hdpi/edit_green.9.png rename to MiNote/app/src/main/res/drawable-hdpi/edit_green.9.png diff --git a/MiNote/res/drawable-hdpi/edit_red.9.png b/MiNote/app/src/main/res/drawable-hdpi/edit_red.9.png similarity index 100% rename from MiNote/res/drawable-hdpi/edit_red.9.png rename to MiNote/app/src/main/res/drawable-hdpi/edit_red.9.png diff --git a/MiNote/res/drawable-hdpi/edit_title_blue.9.png b/MiNote/app/src/main/res/drawable-hdpi/edit_title_blue.9.png similarity index 100% rename from MiNote/res/drawable-hdpi/edit_title_blue.9.png rename to MiNote/app/src/main/res/drawable-hdpi/edit_title_blue.9.png diff --git a/MiNote/res/drawable-hdpi/edit_title_green.9.png b/MiNote/app/src/main/res/drawable-hdpi/edit_title_green.9.png similarity index 100% rename from MiNote/res/drawable-hdpi/edit_title_green.9.png rename to MiNote/app/src/main/res/drawable-hdpi/edit_title_green.9.png diff --git a/MiNote/res/drawable-hdpi/edit_title_red.9.png b/MiNote/app/src/main/res/drawable-hdpi/edit_title_red.9.png similarity index 100% rename from MiNote/res/drawable-hdpi/edit_title_red.9.png rename to MiNote/app/src/main/res/drawable-hdpi/edit_title_red.9.png diff --git a/MiNote/res/drawable-hdpi/edit_title_white.9.png b/MiNote/app/src/main/res/drawable-hdpi/edit_title_white.9.png similarity index 100% rename from MiNote/res/drawable-hdpi/edit_title_white.9.png rename to MiNote/app/src/main/res/drawable-hdpi/edit_title_white.9.png diff --git a/MiNote/res/drawable-hdpi/edit_title_yellow.9.png b/MiNote/app/src/main/res/drawable-hdpi/edit_title_yellow.9.png similarity index 100% rename from MiNote/res/drawable-hdpi/edit_title_yellow.9.png rename to MiNote/app/src/main/res/drawable-hdpi/edit_title_yellow.9.png diff --git a/MiNote/res/drawable-hdpi/edit_white.9.png b/MiNote/app/src/main/res/drawable-hdpi/edit_white.9.png similarity index 100% rename from MiNote/res/drawable-hdpi/edit_white.9.png rename to MiNote/app/src/main/res/drawable-hdpi/edit_white.9.png diff --git a/MiNote/res/drawable-hdpi/edit_yellow.9.png b/MiNote/app/src/main/res/drawable-hdpi/edit_yellow.9.png similarity index 100% rename from MiNote/res/drawable-hdpi/edit_yellow.9.png rename to MiNote/app/src/main/res/drawable-hdpi/edit_yellow.9.png diff --git a/MiNote/res/drawable-hdpi/font_large.png b/MiNote/app/src/main/res/drawable-hdpi/font_large.png similarity index 100% rename from MiNote/res/drawable-hdpi/font_large.png rename to MiNote/app/src/main/res/drawable-hdpi/font_large.png diff --git a/MiNote/res/drawable-hdpi/font_normal.png b/MiNote/app/src/main/res/drawable-hdpi/font_normal.png similarity index 100% rename from MiNote/res/drawable-hdpi/font_normal.png rename to MiNote/app/src/main/res/drawable-hdpi/font_normal.png diff --git a/MiNote/res/drawable-hdpi/font_size_selector_bg.9.png b/MiNote/app/src/main/res/drawable-hdpi/font_size_selector_bg.9.png similarity index 100% rename from MiNote/res/drawable-hdpi/font_size_selector_bg.9.png rename to MiNote/app/src/main/res/drawable-hdpi/font_size_selector_bg.9.png diff --git a/MiNote/res/drawable-hdpi/font_small.png b/MiNote/app/src/main/res/drawable-hdpi/font_small.png similarity index 100% rename from MiNote/res/drawable-hdpi/font_small.png rename to MiNote/app/src/main/res/drawable-hdpi/font_small.png diff --git a/MiNote/res/drawable-hdpi/font_super.png b/MiNote/app/src/main/res/drawable-hdpi/font_super.png similarity index 100% rename from MiNote/res/drawable-hdpi/font_super.png rename to MiNote/app/src/main/res/drawable-hdpi/font_super.png diff --git a/MiNote/res/drawable-hdpi/icon_app.png b/MiNote/app/src/main/res/drawable-hdpi/icon_app.png similarity index 100% rename from MiNote/res/drawable-hdpi/icon_app.png rename to MiNote/app/src/main/res/drawable-hdpi/icon_app.png diff --git a/MiNote/res/drawable-hdpi/list_background.png b/MiNote/app/src/main/res/drawable-hdpi/list_background.png similarity index 100% rename from MiNote/res/drawable-hdpi/list_background.png rename to MiNote/app/src/main/res/drawable-hdpi/list_background.png diff --git a/MiNote/res/drawable-hdpi/list_blue_down.9.png b/MiNote/app/src/main/res/drawable-hdpi/list_blue_down.9.png similarity index 100% rename from MiNote/res/drawable-hdpi/list_blue_down.9.png rename to MiNote/app/src/main/res/drawable-hdpi/list_blue_down.9.png diff --git a/MiNote/res/drawable-hdpi/list_blue_middle.9.png b/MiNote/app/src/main/res/drawable-hdpi/list_blue_middle.9.png similarity index 100% rename from MiNote/res/drawable-hdpi/list_blue_middle.9.png rename to MiNote/app/src/main/res/drawable-hdpi/list_blue_middle.9.png diff --git a/MiNote/res/drawable-hdpi/list_blue_single.9.png b/MiNote/app/src/main/res/drawable-hdpi/list_blue_single.9.png similarity index 100% rename from MiNote/res/drawable-hdpi/list_blue_single.9.png rename to MiNote/app/src/main/res/drawable-hdpi/list_blue_single.9.png diff --git a/MiNote/res/drawable-hdpi/list_blue_up.9.png b/MiNote/app/src/main/res/drawable-hdpi/list_blue_up.9.png similarity index 100% rename from MiNote/res/drawable-hdpi/list_blue_up.9.png rename to MiNote/app/src/main/res/drawable-hdpi/list_blue_up.9.png diff --git a/MiNote/res/drawable-hdpi/list_folder.9.png b/MiNote/app/src/main/res/drawable-hdpi/list_folder.9.png similarity index 100% rename from MiNote/res/drawable-hdpi/list_folder.9.png rename to MiNote/app/src/main/res/drawable-hdpi/list_folder.9.png diff --git a/MiNote/res/drawable-hdpi/list_footer_bg.9.png b/MiNote/app/src/main/res/drawable-hdpi/list_footer_bg.9.png similarity index 100% rename from MiNote/res/drawable-hdpi/list_footer_bg.9.png rename to MiNote/app/src/main/res/drawable-hdpi/list_footer_bg.9.png diff --git a/MiNote/res/drawable-hdpi/list_green_down.9.png b/MiNote/app/src/main/res/drawable-hdpi/list_green_down.9.png similarity index 100% rename from MiNote/res/drawable-hdpi/list_green_down.9.png rename to MiNote/app/src/main/res/drawable-hdpi/list_green_down.9.png diff --git a/MiNote/res/drawable-hdpi/list_green_middle.9.png b/MiNote/app/src/main/res/drawable-hdpi/list_green_middle.9.png similarity index 100% rename from MiNote/res/drawable-hdpi/list_green_middle.9.png rename to MiNote/app/src/main/res/drawable-hdpi/list_green_middle.9.png diff --git a/MiNote/res/drawable-hdpi/list_green_single.9.png b/MiNote/app/src/main/res/drawable-hdpi/list_green_single.9.png similarity index 100% rename from MiNote/res/drawable-hdpi/list_green_single.9.png rename to MiNote/app/src/main/res/drawable-hdpi/list_green_single.9.png diff --git a/MiNote/res/drawable-hdpi/list_green_up.9.png b/MiNote/app/src/main/res/drawable-hdpi/list_green_up.9.png similarity index 100% rename from MiNote/res/drawable-hdpi/list_green_up.9.png rename to MiNote/app/src/main/res/drawable-hdpi/list_green_up.9.png diff --git a/MiNote/res/drawable-hdpi/list_red_down.9.png b/MiNote/app/src/main/res/drawable-hdpi/list_red_down.9.png similarity index 100% rename from MiNote/res/drawable-hdpi/list_red_down.9.png rename to MiNote/app/src/main/res/drawable-hdpi/list_red_down.9.png diff --git a/MiNote/res/drawable-hdpi/list_red_middle.9.png b/MiNote/app/src/main/res/drawable-hdpi/list_red_middle.9.png similarity index 100% rename from MiNote/res/drawable-hdpi/list_red_middle.9.png rename to MiNote/app/src/main/res/drawable-hdpi/list_red_middle.9.png diff --git a/MiNote/res/drawable-hdpi/list_red_single.9.png b/MiNote/app/src/main/res/drawable-hdpi/list_red_single.9.png similarity index 100% rename from MiNote/res/drawable-hdpi/list_red_single.9.png rename to MiNote/app/src/main/res/drawable-hdpi/list_red_single.9.png diff --git a/MiNote/res/drawable-hdpi/list_red_up.9.png b/MiNote/app/src/main/res/drawable-hdpi/list_red_up.9.png similarity index 100% rename from MiNote/res/drawable-hdpi/list_red_up.9.png rename to MiNote/app/src/main/res/drawable-hdpi/list_red_up.9.png diff --git a/MiNote/res/drawable-hdpi/list_white_down.9.png b/MiNote/app/src/main/res/drawable-hdpi/list_white_down.9.png similarity index 100% rename from MiNote/res/drawable-hdpi/list_white_down.9.png rename to MiNote/app/src/main/res/drawable-hdpi/list_white_down.9.png diff --git a/MiNote/res/drawable-hdpi/list_white_middle.9.png b/MiNote/app/src/main/res/drawable-hdpi/list_white_middle.9.png similarity index 100% rename from MiNote/res/drawable-hdpi/list_white_middle.9.png rename to MiNote/app/src/main/res/drawable-hdpi/list_white_middle.9.png diff --git a/MiNote/res/drawable-hdpi/list_white_single.9.png b/MiNote/app/src/main/res/drawable-hdpi/list_white_single.9.png similarity index 100% rename from MiNote/res/drawable-hdpi/list_white_single.9.png rename to MiNote/app/src/main/res/drawable-hdpi/list_white_single.9.png diff --git a/MiNote/res/drawable-hdpi/list_white_up.9.png b/MiNote/app/src/main/res/drawable-hdpi/list_white_up.9.png similarity index 100% rename from MiNote/res/drawable-hdpi/list_white_up.9.png rename to MiNote/app/src/main/res/drawable-hdpi/list_white_up.9.png diff --git a/MiNote/res/drawable-hdpi/list_yellow_down.9.png b/MiNote/app/src/main/res/drawable-hdpi/list_yellow_down.9.png similarity index 100% rename from MiNote/res/drawable-hdpi/list_yellow_down.9.png rename to MiNote/app/src/main/res/drawable-hdpi/list_yellow_down.9.png diff --git a/MiNote/res/drawable-hdpi/list_yellow_middle.9.png b/MiNote/app/src/main/res/drawable-hdpi/list_yellow_middle.9.png similarity index 100% rename from MiNote/res/drawable-hdpi/list_yellow_middle.9.png rename to MiNote/app/src/main/res/drawable-hdpi/list_yellow_middle.9.png diff --git a/MiNote/res/drawable-hdpi/list_yellow_single.9.png b/MiNote/app/src/main/res/drawable-hdpi/list_yellow_single.9.png similarity index 100% rename from MiNote/res/drawable-hdpi/list_yellow_single.9.png rename to MiNote/app/src/main/res/drawable-hdpi/list_yellow_single.9.png diff --git a/MiNote/res/drawable-hdpi/list_yellow_up.9.png b/MiNote/app/src/main/res/drawable-hdpi/list_yellow_up.9.png similarity index 100% rename from MiNote/res/drawable-hdpi/list_yellow_up.9.png rename to MiNote/app/src/main/res/drawable-hdpi/list_yellow_up.9.png diff --git a/MiNote/res/drawable-hdpi/menu_delete.png b/MiNote/app/src/main/res/drawable-hdpi/menu_delete.png similarity index 100% rename from MiNote/res/drawable-hdpi/menu_delete.png rename to MiNote/app/src/main/res/drawable-hdpi/menu_delete.png diff --git a/MiNote/res/drawable-hdpi/menu_move.png b/MiNote/app/src/main/res/drawable-hdpi/menu_move.png similarity index 100% rename from MiNote/res/drawable-hdpi/menu_move.png rename to MiNote/app/src/main/res/drawable-hdpi/menu_move.png diff --git a/MiNote/res/drawable-hdpi/new_note_normal.png b/MiNote/app/src/main/res/drawable-hdpi/new_note_normal.png similarity index 100% rename from MiNote/res/drawable-hdpi/new_note_normal.png rename to MiNote/app/src/main/res/drawable-hdpi/new_note_normal.png diff --git a/MiNote/res/drawable-hdpi/new_note_pressed.png b/MiNote/app/src/main/res/drawable-hdpi/new_note_pressed.png similarity index 100% rename from MiNote/res/drawable-hdpi/new_note_pressed.png rename to MiNote/app/src/main/res/drawable-hdpi/new_note_pressed.png diff --git a/MiNote/res/drawable-hdpi/note_edit_color_selector_panel.png b/MiNote/app/src/main/res/drawable-hdpi/note_edit_color_selector_panel.png similarity index 100% rename from MiNote/res/drawable-hdpi/note_edit_color_selector_panel.png rename to MiNote/app/src/main/res/drawable-hdpi/note_edit_color_selector_panel.png diff --git a/MiNote/res/drawable-hdpi/notification.png b/MiNote/app/src/main/res/drawable-hdpi/notification.png similarity index 100% rename from MiNote/res/drawable-hdpi/notification.png rename to MiNote/app/src/main/res/drawable-hdpi/notification.png diff --git a/MiNote/res/drawable-hdpi/search_result.png b/MiNote/app/src/main/res/drawable-hdpi/search_result.png similarity index 100% rename from MiNote/res/drawable-hdpi/search_result.png rename to MiNote/app/src/main/res/drawable-hdpi/search_result.png diff --git a/MiNote/res/drawable-hdpi/selected.png b/MiNote/app/src/main/res/drawable-hdpi/selected.png similarity index 100% rename from MiNote/res/drawable-hdpi/selected.png rename to MiNote/app/src/main/res/drawable-hdpi/selected.png diff --git a/MiNote/res/drawable-hdpi/title_alert.png b/MiNote/app/src/main/res/drawable-hdpi/title_alert.png similarity index 100% rename from MiNote/res/drawable-hdpi/title_alert.png rename to MiNote/app/src/main/res/drawable-hdpi/title_alert.png diff --git a/MiNote/res/drawable-hdpi/title_bar_bg.9.png b/MiNote/app/src/main/res/drawable-hdpi/title_bar_bg.9.png similarity index 100% rename from MiNote/res/drawable-hdpi/title_bar_bg.9.png rename to MiNote/app/src/main/res/drawable-hdpi/title_bar_bg.9.png diff --git a/MiNote/res/drawable-hdpi/widget_2x_blue.png b/MiNote/app/src/main/res/drawable-hdpi/widget_2x_blue.png similarity index 100% rename from MiNote/res/drawable-hdpi/widget_2x_blue.png rename to MiNote/app/src/main/res/drawable-hdpi/widget_2x_blue.png diff --git a/MiNote/res/drawable-hdpi/widget_2x_green.png b/MiNote/app/src/main/res/drawable-hdpi/widget_2x_green.png similarity index 100% rename from MiNote/res/drawable-hdpi/widget_2x_green.png rename to MiNote/app/src/main/res/drawable-hdpi/widget_2x_green.png diff --git a/MiNote/res/drawable-hdpi/widget_2x_red.png b/MiNote/app/src/main/res/drawable-hdpi/widget_2x_red.png similarity index 100% rename from MiNote/res/drawable-hdpi/widget_2x_red.png rename to MiNote/app/src/main/res/drawable-hdpi/widget_2x_red.png diff --git a/MiNote/res/drawable-hdpi/widget_2x_white.png b/MiNote/app/src/main/res/drawable-hdpi/widget_2x_white.png similarity index 100% rename from MiNote/res/drawable-hdpi/widget_2x_white.png rename to MiNote/app/src/main/res/drawable-hdpi/widget_2x_white.png diff --git a/MiNote/res/drawable-hdpi/widget_2x_yellow.png b/MiNote/app/src/main/res/drawable-hdpi/widget_2x_yellow.png similarity index 100% rename from MiNote/res/drawable-hdpi/widget_2x_yellow.png rename to MiNote/app/src/main/res/drawable-hdpi/widget_2x_yellow.png diff --git a/MiNote/res/drawable-hdpi/widget_4x_blue.png b/MiNote/app/src/main/res/drawable-hdpi/widget_4x_blue.png similarity index 100% rename from MiNote/res/drawable-hdpi/widget_4x_blue.png rename to MiNote/app/src/main/res/drawable-hdpi/widget_4x_blue.png diff --git a/MiNote/res/drawable-hdpi/widget_4x_green.png b/MiNote/app/src/main/res/drawable-hdpi/widget_4x_green.png similarity index 100% rename from MiNote/res/drawable-hdpi/widget_4x_green.png rename to MiNote/app/src/main/res/drawable-hdpi/widget_4x_green.png diff --git a/MiNote/res/drawable-hdpi/widget_4x_red.png b/MiNote/app/src/main/res/drawable-hdpi/widget_4x_red.png similarity index 100% rename from MiNote/res/drawable-hdpi/widget_4x_red.png rename to MiNote/app/src/main/res/drawable-hdpi/widget_4x_red.png diff --git a/MiNote/res/drawable-hdpi/widget_4x_white.png b/MiNote/app/src/main/res/drawable-hdpi/widget_4x_white.png similarity index 100% rename from MiNote/res/drawable-hdpi/widget_4x_white.png rename to MiNote/app/src/main/res/drawable-hdpi/widget_4x_white.png diff --git a/MiNote/res/drawable-hdpi/widget_4x_yellow.png b/MiNote/app/src/main/res/drawable-hdpi/widget_4x_yellow.png similarity index 100% rename from MiNote/res/drawable-hdpi/widget_4x_yellow.png rename to MiNote/app/src/main/res/drawable-hdpi/widget_4x_yellow.png diff --git a/MiNote/app/src/main/res/drawable/ic_launcher_background.xml b/MiNote/app/src/main/res/drawable/ic_launcher_background.xml new file mode 100644 index 0000000..07d5da9 --- /dev/null +++ b/MiNote/app/src/main/res/drawable/ic_launcher_background.xml @@ -0,0 +1,170 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/MiNote/app/src/main/res/drawable/ic_launcher_foreground.xml b/MiNote/app/src/main/res/drawable/ic_launcher_foreground.xml new file mode 100644 index 0000000..2b068d1 --- /dev/null +++ b/MiNote/app/src/main/res/drawable/ic_launcher_foreground.xml @@ -0,0 +1,30 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/MiNote/res/drawable/new_note.xml b/MiNote/app/src/main/res/drawable/new_note.xml similarity index 100% rename from MiNote/res/drawable/new_note.xml rename to MiNote/app/src/main/res/drawable/new_note.xml diff --git a/MiNote/res/layout/account_dialog_title.xml b/MiNote/app/src/main/res/layout/account_dialog_title.xml similarity index 100% rename from MiNote/res/layout/account_dialog_title.xml rename to MiNote/app/src/main/res/layout/account_dialog_title.xml diff --git a/MiNote/app/src/main/res/layout/activity_main.xml b/MiNote/app/src/main/res/layout/activity_main.xml new file mode 100644 index 0000000..86a5d97 --- /dev/null +++ b/MiNote/app/src/main/res/layout/activity_main.xml @@ -0,0 +1,19 @@ + + + + + + \ No newline at end of file diff --git a/MiNote/res/layout/add_account_text.xml b/MiNote/app/src/main/res/layout/add_account_text.xml similarity index 100% rename from MiNote/res/layout/add_account_text.xml rename to MiNote/app/src/main/res/layout/add_account_text.xml diff --git a/MiNote/res/layout/datetime_picker.xml b/MiNote/app/src/main/res/layout/datetime_picker.xml similarity index 100% rename from MiNote/res/layout/datetime_picker.xml rename to MiNote/app/src/main/res/layout/datetime_picker.xml diff --git a/MiNote/res/layout/dialog_edit_text.xml b/MiNote/app/src/main/res/layout/dialog_edit_text.xml similarity index 100% rename from MiNote/res/layout/dialog_edit_text.xml rename to MiNote/app/src/main/res/layout/dialog_edit_text.xml diff --git a/MiNote/res/layout/folder_list_item.xml b/MiNote/app/src/main/res/layout/folder_list_item.xml similarity index 100% rename from MiNote/res/layout/folder_list_item.xml rename to MiNote/app/src/main/res/layout/folder_list_item.xml diff --git a/MiNote/res/layout/note_edit.xml b/MiNote/app/src/main/res/layout/note_edit.xml similarity index 100% rename from MiNote/res/layout/note_edit.xml rename to MiNote/app/src/main/res/layout/note_edit.xml diff --git a/MiNote/res/layout/note_edit_list_item.xml b/MiNote/app/src/main/res/layout/note_edit_list_item.xml similarity index 100% rename from MiNote/res/layout/note_edit_list_item.xml rename to MiNote/app/src/main/res/layout/note_edit_list_item.xml diff --git a/MiNote/res/layout/note_item.xml b/MiNote/app/src/main/res/layout/note_item.xml similarity index 100% rename from MiNote/res/layout/note_item.xml rename to MiNote/app/src/main/res/layout/note_item.xml diff --git a/MiNote/res/layout/note_list.xml b/MiNote/app/src/main/res/layout/note_list.xml similarity index 100% rename from MiNote/res/layout/note_list.xml rename to MiNote/app/src/main/res/layout/note_list.xml diff --git a/MiNote/res/layout/note_list_dropdown_menu.xml b/MiNote/app/src/main/res/layout/note_list_dropdown_menu.xml similarity index 100% rename from MiNote/res/layout/note_list_dropdown_menu.xml rename to MiNote/app/src/main/res/layout/note_list_dropdown_menu.xml diff --git a/MiNote/res/layout/note_list_footer.xml b/MiNote/app/src/main/res/layout/note_list_footer.xml similarity index 100% rename from MiNote/res/layout/note_list_footer.xml rename to MiNote/app/src/main/res/layout/note_list_footer.xml diff --git a/MiNote/res/layout/settings_header.xml b/MiNote/app/src/main/res/layout/settings_header.xml similarity index 100% rename from MiNote/res/layout/settings_header.xml rename to MiNote/app/src/main/res/layout/settings_header.xml diff --git a/MiNote/res/layout/widget_2x.xml b/MiNote/app/src/main/res/layout/widget_2x.xml similarity index 100% rename from MiNote/res/layout/widget_2x.xml rename to MiNote/app/src/main/res/layout/widget_2x.xml diff --git a/MiNote/res/layout/widget_4x.xml b/MiNote/app/src/main/res/layout/widget_4x.xml similarity index 100% rename from MiNote/res/layout/widget_4x.xml rename to MiNote/app/src/main/res/layout/widget_4x.xml diff --git a/MiNote/res/menu/call_note_edit.xml b/MiNote/app/src/main/res/menu/call_note_edit.xml similarity index 100% rename from MiNote/res/menu/call_note_edit.xml rename to MiNote/app/src/main/res/menu/call_note_edit.xml diff --git a/MiNote/res/menu/call_record_folder.xml b/MiNote/app/src/main/res/menu/call_record_folder.xml similarity index 100% rename from MiNote/res/menu/call_record_folder.xml rename to MiNote/app/src/main/res/menu/call_record_folder.xml diff --git a/MiNote/res/menu/note_edit.xml b/MiNote/app/src/main/res/menu/note_edit.xml similarity index 100% rename from MiNote/res/menu/note_edit.xml rename to MiNote/app/src/main/res/menu/note_edit.xml diff --git a/MiNote/res/menu/note_list.xml b/MiNote/app/src/main/res/menu/note_list.xml similarity index 100% rename from MiNote/res/menu/note_list.xml rename to MiNote/app/src/main/res/menu/note_list.xml diff --git a/MiNote/res/menu/note_list_dropdown.xml b/MiNote/app/src/main/res/menu/note_list_dropdown.xml similarity index 100% rename from MiNote/res/menu/note_list_dropdown.xml rename to MiNote/app/src/main/res/menu/note_list_dropdown.xml diff --git a/MiNote/res/menu/note_list_options.xml b/MiNote/app/src/main/res/menu/note_list_options.xml similarity index 100% rename from MiNote/res/menu/note_list_options.xml rename to MiNote/app/src/main/res/menu/note_list_options.xml diff --git a/MiNote/res/menu/sub_folder.xml b/MiNote/app/src/main/res/menu/sub_folder.xml similarity index 100% rename from MiNote/res/menu/sub_folder.xml rename to MiNote/app/src/main/res/menu/sub_folder.xml diff --git a/MiNote/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml b/MiNote/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml new file mode 100644 index 0000000..6f3b755 --- /dev/null +++ b/MiNote/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/MiNote/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml b/MiNote/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml new file mode 100644 index 0000000..6f3b755 --- /dev/null +++ b/MiNote/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/MiNote/app/src/main/res/mipmap-hdpi/ic_launcher.webp b/MiNote/app/src/main/res/mipmap-hdpi/ic_launcher.webp new file mode 100644 index 0000000..c209e78 Binary files /dev/null and b/MiNote/app/src/main/res/mipmap-hdpi/ic_launcher.webp differ diff --git a/MiNote/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp b/MiNote/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp new file mode 100644 index 0000000..b2dfe3d Binary files /dev/null and b/MiNote/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp differ diff --git a/MiNote/app/src/main/res/mipmap-mdpi/ic_launcher.webp b/MiNote/app/src/main/res/mipmap-mdpi/ic_launcher.webp new file mode 100644 index 0000000..4f0f1d6 Binary files /dev/null and b/MiNote/app/src/main/res/mipmap-mdpi/ic_launcher.webp differ diff --git a/MiNote/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp b/MiNote/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp new file mode 100644 index 0000000..62b611d Binary files /dev/null and b/MiNote/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp differ diff --git a/MiNote/app/src/main/res/mipmap-xhdpi/ic_launcher.webp b/MiNote/app/src/main/res/mipmap-xhdpi/ic_launcher.webp new file mode 100644 index 0000000..948a307 Binary files /dev/null and b/MiNote/app/src/main/res/mipmap-xhdpi/ic_launcher.webp differ diff --git a/MiNote/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp b/MiNote/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp new file mode 100644 index 0000000..1b9a695 Binary files /dev/null and b/MiNote/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp differ diff --git a/MiNote/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp b/MiNote/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp new file mode 100644 index 0000000..28d4b77 Binary files /dev/null and b/MiNote/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp differ diff --git a/MiNote/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp b/MiNote/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp new file mode 100644 index 0000000..9287f50 Binary files /dev/null and b/MiNote/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp differ diff --git a/MiNote/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp b/MiNote/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp new file mode 100644 index 0000000..aa7d642 Binary files /dev/null and b/MiNote/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp differ diff --git a/MiNote/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp b/MiNote/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp new file mode 100644 index 0000000..9126ae3 Binary files /dev/null and b/MiNote/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp differ diff --git a/MiNote/res/raw-zh-rCN/introduction b/MiNote/app/src/main/res/raw-zh-rCN/introduction similarity index 100% rename from MiNote/res/raw-zh-rCN/introduction rename to MiNote/app/src/main/res/raw-zh-rCN/introduction diff --git a/MiNote/res/raw/introduction b/MiNote/app/src/main/res/raw/introduction similarity index 100% rename from MiNote/res/raw/introduction rename to MiNote/app/src/main/res/raw/introduction diff --git a/MiNote/app/src/main/res/values-night/themes.xml b/MiNote/app/src/main/res/values-night/themes.xml new file mode 100644 index 0000000..1b59d6e --- /dev/null +++ b/MiNote/app/src/main/res/values-night/themes.xml @@ -0,0 +1,7 @@ + + + + \ No newline at end of file diff --git a/MiNote/res/values-zh-rCN/arrays.xml b/MiNote/app/src/main/res/values-zh-rCN/arrays.xml similarity index 100% rename from MiNote/res/values-zh-rCN/arrays.xml rename to MiNote/app/src/main/res/values-zh-rCN/arrays.xml diff --git a/MiNote/res/values-zh-rCN/strings.xml b/MiNote/app/src/main/res/values-zh-rCN/strings.xml similarity index 100% rename from MiNote/res/values-zh-rCN/strings.xml rename to MiNote/app/src/main/res/values-zh-rCN/strings.xml diff --git a/MiNote/res/values-zh-rTW/arrays.xml b/MiNote/app/src/main/res/values-zh-rTW/arrays.xml similarity index 100% rename from MiNote/res/values-zh-rTW/arrays.xml rename to MiNote/app/src/main/res/values-zh-rTW/arrays.xml diff --git a/MiNote/res/values-zh-rTW/strings.xml b/MiNote/app/src/main/res/values-zh-rTW/strings.xml similarity index 100% rename from MiNote/res/values-zh-rTW/strings.xml rename to MiNote/app/src/main/res/values-zh-rTW/strings.xml diff --git a/MiNote/res/values/arrays.xml b/MiNote/app/src/main/res/values/arrays.xml similarity index 100% rename from MiNote/res/values/arrays.xml rename to MiNote/app/src/main/res/values/arrays.xml diff --git a/MiNote/res/values/colors.xml b/MiNote/app/src/main/res/values/colors.xml similarity index 100% rename from MiNote/res/values/colors.xml rename to MiNote/app/src/main/res/values/colors.xml diff --git a/MiNote/res/values/dimens.xml b/MiNote/app/src/main/res/values/dimens.xml similarity index 100% rename from MiNote/res/values/dimens.xml rename to MiNote/app/src/main/res/values/dimens.xml diff --git a/MiNote/res/values/strings.xml b/MiNote/app/src/main/res/values/strings.xml similarity index 100% rename from MiNote/res/values/strings.xml rename to MiNote/app/src/main/res/values/strings.xml diff --git a/MiNote/res/values/styles.xml b/MiNote/app/src/main/res/values/styles.xml similarity index 100% rename from MiNote/res/values/styles.xml rename to MiNote/app/src/main/res/values/styles.xml diff --git a/MiNote/app/src/main/res/values/themes.xml b/MiNote/app/src/main/res/values/themes.xml new file mode 100644 index 0000000..ad12c4f --- /dev/null +++ b/MiNote/app/src/main/res/values/themes.xml @@ -0,0 +1,9 @@ + + + + +