From b400ecc4371f892fe62b3752ca318e20afc1cd22 Mon Sep 17 00:00:00 2001 From: MikkoAyaka <3401286177@qq.com> Date: Fri, 19 May 2023 17:33:36 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BC=95=E5=85=A5=20RichText=20=E4=BE=9D?= =?UTF-8?q?=E8=B5=96=E7=94=A8=E4=BA=8E=20Markdown=20=E6=96=87=E6=9C=AC?= =?UTF-8?q?=E8=A7=A3=E6=9E=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build.gradle | 2 +- src/build.gradle | 15 ++++++++++++--- src/src/main/AndroidManifest.xml | 24 +++++++++++++++--------- 3 files changed, 28 insertions(+), 13 deletions(-) diff --git a/build.gradle b/build.gradle index f3519b5..2b9a4f0 100644 --- a/build.gradle +++ b/build.gradle @@ -5,7 +5,7 @@ buildscript { mavenCentral() } dependencies { - classpath 'com.android.tools.build:gradle:7.3.0' + classpath 'com.android.tools.build:gradle:7.4.2' } } plugins { diff --git a/src/build.gradle b/src/build.gradle index fd8cfd2..0456445 100644 --- a/src/build.gradle +++ b/src/build.gradle @@ -3,12 +3,13 @@ apply { } android { - compileSdkVersion 14 - buildToolsVersion "33.0.0" + compileSdkVersion 25 +// buildToolsVersion "14.0.0" defaultConfig { applicationId "net.micode.notes" - targetSdkVersion 14 + minSdkVersion 25 + targetSdkVersion 25 } buildTypes { @@ -18,3 +19,11 @@ android { } } } +repositories { + jcenter() + google() + mavenCentral() +} +dependencies { + implementation 'com.zzhoujay.richtext:richtext:3.0.7' +} \ No newline at end of file diff --git a/src/src/main/AndroidManifest.xml b/src/src/main/AndroidManifest.xml index 75d76cf..fdb032f 100644 --- a/src/src/main/AndroidManifest.xml +++ b/src/src/main/AndroidManifest.xml @@ -17,11 +17,9 @@ + android:versionCode="14" + android:versionName="1.4" > - - @@ -45,19 +43,24 @@ android:launchMode="singleTop" android:theme="@style/NoteTheme" android:uiOptions="splitActionBarWhenNarrow" - android:windowSoftInputMode="adjustPan" > + android:windowSoftInputMode="adjustPan" + android:exported="true"> + + + + android:theme="@style/NoteTheme" + android:exported="true"> @@ -91,7 +94,8 @@ + android:label="@string/app_widget2x2" + android:exported="true"> @@ -104,7 +108,8 @@ + android:label="@string/app_widget4x4" + android:exported="true"> @@ -117,7 +122,8 @@ android:resource="@xml/widget_4x_info" /> - +