From 3fe1ea7ff2be7b351b24670db0f9e78d37ee5e06 Mon Sep 17 00:00:00 2001 From: ZhanGSKen Date: Mon, 24 Mar 2025 13:20:14 +0800 Subject: [PATCH 01/41] =?UTF-8?q?=E4=BF=AE=E6=94=B9AndroidDemo=E7=B1=BB?= =?UTF-8?q?=E5=BA=93=E4=BE=9D=E8=B5=96=E6=96=B9=E5=BC=8F=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- androiddemo/build.gradle | 27 ++++++++++----------------- androiddemo/build.properties | 4 ++-- 2 files changed, 12 insertions(+), 19 deletions(-) diff --git a/androiddemo/build.gradle b/androiddemo/build.gradle index 8357611..d134caa 100644 --- a/androiddemo/build.gradle +++ b/androiddemo/build.gradle @@ -18,15 +18,8 @@ def genVersionName(def versionName){ } android { - productFlavors { - beta { - } - stage { - } - } - - compileSdkVersion 30 - buildToolsVersion "30.0.3" + compileSdkVersion 32 + buildToolsVersion "32.0.0" defaultConfig { applicationId "cc.winboll.studio.androiddemo" @@ -54,21 +47,21 @@ dependencies { api fileTree(dir: 'libs', include: ['*.jar']) // 吐司类库 - implementation 'com.github.getActivity:ToastUtils:10.5' + api 'com.github.getActivity:ToastUtils:10.5' // Android 类库 // https://mvnrepository.com/artifact/com.android.support/support-v4 - implementation 'com.android.support:support-v4:28.0.0' + api 'com.android.support:support-v4:28.0.0' // https://mvnrepository.com/artifact/com.android.support/support-compat - implementation 'com.android.support:support-compat:28.0.0' + api 'com.android.support:support-compat:28.0.0' // https://mvnrepository.com/artifact/com.android.support/support-media-compat - implementation 'com.android.support:support-media-compat:28.0.0' + api 'com.android.support:support-media-compat:28.0.0' // https://mvnrepository.com/artifact/com.android.support/support-core-utils - implementation 'com.android.support:support-core-utils:28.0.0' + api 'com.android.support:support-core-utils:28.0.0' // https://mvnrepository.com/artifact/com.android.support/support-core-ui - implementation 'com.android.support:support-core-ui:28.0.0' + api 'com.android.support:support-core-ui:28.0.0' // https://mvnrepository.com/artifact/com.android.support/support-fragment - implementation 'com.android.support:support-fragment:28.0.0' + api 'com.android.support:support-fragment:28.0.0' // https://mvnrepository.com/artifact/com.android.support/recyclerview-v7 - implementation 'com.android.support:recyclerview-v7:28.0.0' + api 'com.android.support:recyclerview-v7:28.0.0' } diff --git a/androiddemo/build.properties b/androiddemo/build.properties index 4d98e2f..9c7bb10 100644 --- a/androiddemo/build.properties +++ b/androiddemo/build.properties @@ -1,8 +1,8 @@ #Created by .winboll/winboll_app_build.gradle -#Tue Mar 11 18:02:14 GMT 2025 +#Mon Mar 24 05:17:16 GMT 2025 stageCount=0 libraryProject= baseVersion=1.0 publishVersion=1.0.0 -buildCount=1 +buildCount=2 baseBetaVersion=1.0.1 From ede6c07deb0c4981733418227b49bd2f01cc6efe Mon Sep 17 00:00:00 2001 From: ZhanGSKen Date: Mon, 24 Mar 2025 13:27:40 +0800 Subject: [PATCH 02/41] =?UTF-8?q?=E6=9B=B4=E6=96=B0AndroidXDemo=E7=B1=BB?= =?UTF-8?q?=E5=BA=93=E4=BE=9D=E8=B5=96=E6=96=B9=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- androidxdemo/build.gradle | 41 +++++++++++++++-------------------- androidxdemo/build.properties | 10 ++++----- 2 files changed, 22 insertions(+), 29 deletions(-) diff --git a/androidxdemo/build.gradle b/androidxdemo/build.gradle index fcf214f..b3b3c10 100644 --- a/androidxdemo/build.gradle +++ b/androidxdemo/build.gradle @@ -18,15 +18,8 @@ def genVersionName(def versionName){ } android { - productFlavors { - beta { - } - stage { - } - } - - compileSdkVersion 30 - buildToolsVersion "30.0.3" + compileSdkVersion 32 + buildToolsVersion "32.0.0" defaultConfig { applicationId "cc.winboll.studio.androidxdemo" @@ -36,7 +29,7 @@ android { // versionName 更新后需要手动设置 // .winboll/winbollBuildProps.properties 文件的 stageCount=0 // Gradle编译环境下合起来的 versionName 就是 "${versionName}.0" - versionName "1.0" + versionName "15.0" if(true) { versionName = genVersionName("${versionName}") } @@ -54,23 +47,23 @@ dependencies { api fileTree(dir: 'libs', include: ['*.jar']) // SSH - implementation 'com.jcraft:jsch:0.1.55' + api 'com.jcraft:jsch:0.1.55' // Html 解析 - implementation 'org.jsoup:jsoup:1.13.1' + api 'org.jsoup:jsoup:1.13.1' // 二维码类库 - implementation 'com.google.zxing:core:3.4.1' - implementation 'com.journeyapps:zxing-android-embedded:3.6.0' + api 'com.google.zxing:core:3.4.1' + api 'com.journeyapps:zxing-android-embedded:3.6.0' // 应用介绍页类库 - implementation 'io.github.medyo:android-about-page:2.0.0' + api 'io.github.medyo:android-about-page:2.0.0' // 吐司类库 - implementation 'com.github.getActivity:ToastUtils:10.5' + api 'com.github.getActivity:ToastUtils:10.5' // 网络连接类库 - implementation 'com.squareup.okhttp3:okhttp:4.4.1' - // Android 类库 - implementation 'androidx.appcompat:appcompat:1.1.0' - implementation 'androidx.viewpager:viewpager:1.0.0' - implementation 'androidx.vectordrawable:vectordrawable:1.1.0' - implementation 'androidx.vectordrawable:vectordrawable-animated:1.1.0' - implementation 'androidx.fragment:fragment:1.1.0' - implementation 'com.google.android.material:material:1.4.0' + api 'com.squareup.okhttp3:okhttp:4.4.1' + // AndroidX 类库 + api 'androidx.appcompat:appcompat:1.1.0' + api 'androidx.viewpager:viewpager:1.0.0' + api 'androidx.vectordrawable:vectordrawable:1.1.0' + api 'androidx.vectordrawable:vectordrawable-animated:1.1.0' + api 'androidx.fragment:fragment:1.1.0' + api 'com.google.android.material:material:1.4.0' } diff --git a/androidxdemo/build.properties b/androidxdemo/build.properties index 8d115d9..e65e382 100644 --- a/androidxdemo/build.properties +++ b/androidxdemo/build.properties @@ -1,8 +1,8 @@ #Created by .winboll/winboll_app_build.gradle -#Tue Mar 11 18:25:43 GMT 2025 +#Mon Mar 24 05:27:16 GMT 2025 stageCount=0 libraryProject= -baseVersion=1.0 -publishVersion=1.0.0 -buildCount=4 -baseBetaVersion=1.0.1 +baseVersion=15.0 +publishVersion=15.0.0 +buildCount=1 +baseBetaVersion=15.0.1 From ec6926f629d30af73aa8dccdb7c6fd0ceecf31ca Mon Sep 17 00:00:00 2001 From: ZhanGSKen Date: Mon, 24 Mar 2025 13:31:45 +0800 Subject: [PATCH 03/41] =?UTF-8?q?=E8=AE=BE=E5=AE=9A=E5=BA=94=E7=94=A8?= =?UTF-8?q?=E7=89=88=E6=9C=AC=E4=B8=8E=E7=B3=BB=E7=BB=9F=E7=89=88=E6=9C=AC?= =?UTF-8?q?=E4=B8=80=E8=87=B4=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- androiddemo/build.gradle | 2 +- androiddemo/build.properties | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/androiddemo/build.gradle b/androiddemo/build.gradle index d134caa..5ccf9e0 100644 --- a/androiddemo/build.gradle +++ b/androiddemo/build.gradle @@ -29,7 +29,7 @@ android { // versionName 更新后需要手动设置 // .winboll/winbollBuildProps.properties 文件的 stageCount=0 // Gradle编译环境下合起来的 versionName 就是 "${versionName}.0" - versionName "1.0" + versionName "15.0" if(true) { versionName = genVersionName("${versionName}") } diff --git a/androiddemo/build.properties b/androiddemo/build.properties index 9c7bb10..b0b41ad 100644 --- a/androiddemo/build.properties +++ b/androiddemo/build.properties @@ -1,8 +1,8 @@ #Created by .winboll/winboll_app_build.gradle -#Mon Mar 24 05:17:16 GMT 2025 +#Mon Mar 24 05:30:56 GMT 2025 stageCount=0 libraryProject= -baseVersion=1.0 -publishVersion=1.0.0 +baseVersion=15.0 +publishVersion=15.0.0 buildCount=2 -baseBetaVersion=1.0.1 +baseBetaVersion=15.0.1 From 75c2f6304cfce0445b5265ede0854f5a691b7be8 Mon Sep 17 00:00:00 2001 From: ZhanGSKen Date: Mon, 24 Mar 2025 13:57:52 +0800 Subject: [PATCH 04/41] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E5=BA=94=E7=94=A8?= =?UTF-8?q?=E5=9F=BA=E7=B1=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- androiddemo/build.gradle | 3 ++ androiddemo/build.properties | 4 +- androiddemo/src/main/AndroidManifest.xml | 2 +- .../{GlobalApplication.java => App.java} | 12 +++--- .../studio/androiddemo/MainActivity.java | 40 ++++++++++++------- .../src/main/res/layout/activity_main.xml | 33 ++++++++++++--- 6 files changed, 64 insertions(+), 30 deletions(-) rename androiddemo/src/main/java/cc/winboll/studio/androiddemo/{GlobalApplication.java => App.java} (97%) diff --git a/androiddemo/build.gradle b/androiddemo/build.gradle index 5ccf9e0..ac0bdd0 100644 --- a/androiddemo/build.gradle +++ b/androiddemo/build.gradle @@ -64,4 +64,7 @@ dependencies { api 'com.android.support:support-fragment:28.0.0' // https://mvnrepository.com/artifact/com.android.support/recyclerview-v7 api 'com.android.support:recyclerview-v7:28.0.0' + + api 'cc.winboll.studio:libappbase:15.0.8' + api 'cc.winboll.studio:libapputils:15.0.11' } diff --git a/androiddemo/build.properties b/androiddemo/build.properties index b0b41ad..baace7d 100644 --- a/androiddemo/build.properties +++ b/androiddemo/build.properties @@ -1,8 +1,8 @@ #Created by .winboll/winboll_app_build.gradle -#Mon Mar 24 05:30:56 GMT 2025 +#Mon Mar 24 05:56:56 GMT 2025 stageCount=0 libraryProject= baseVersion=15.0 publishVersion=15.0.0 -buildCount=2 +buildCount=7 baseBetaVersion=15.0.1 diff --git a/androiddemo/src/main/AndroidManifest.xml b/androiddemo/src/main/AndroidManifest.xml index 43eac9a..57a1145 100644 --- a/androiddemo/src/main/AndroidManifest.xml +++ b/androiddemo/src/main/AndroidManifest.xml @@ -11,7 +11,7 @@ android:label="@string/app_name" android:theme="@style/AppTheme" android:resizeableActivity="true" - android:name=".GlobalApplication"> + android:name=".App"> + android:orientation="vertical"> - + + + + + + + + + + + From 3a6fb3e17c81df42d1803d82c7605f982ce53009 Mon Sep 17 00:00:00 2001 From: ZhanGSKen Date: Mon, 24 Mar 2025 14:04:59 +0800 Subject: [PATCH 05/41] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E6=97=A5=E5=BF=97?= =?UTF-8?q?=E6=A0=87=E9=A2=98=E6=A0=8F=E9=A3=8E=E6=A0=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- appbase/build.properties | 4 +- libappbase/build.properties | 4 +- .../src/main/res/drawable/bg_toolbar_log.xml | 41 +++++++++++++++++++ libappbase/src/main/res/layout/view_log.xml | 4 +- 4 files changed, 47 insertions(+), 6 deletions(-) create mode 100644 libappbase/src/main/res/drawable/bg_toolbar_log.xml diff --git a/appbase/build.properties b/appbase/build.properties index 477e694..1869ce9 100644 --- a/appbase/build.properties +++ b/appbase/build.properties @@ -1,8 +1,8 @@ #Created by .winboll/winboll_app_build.gradle -#Mon Mar 24 08:04:35 HKT 2025 +#Mon Mar 24 06:04:07 GMT 2025 stageCount=9 libraryProject=libappbase baseVersion=15.0 publishVersion=15.0.8 -buildCount=0 +buildCount=2 baseBetaVersion=15.0.9 diff --git a/libappbase/build.properties b/libappbase/build.properties index 715afc0..1869ce9 100644 --- a/libappbase/build.properties +++ b/libappbase/build.properties @@ -1,8 +1,8 @@ #Created by .winboll/winboll_app_build.gradle -#Mon Mar 24 08:04:27 HKT 2025 +#Mon Mar 24 06:04:07 GMT 2025 stageCount=9 libraryProject=libappbase baseVersion=15.0 publishVersion=15.0.8 -buildCount=0 +buildCount=2 baseBetaVersion=15.0.9 diff --git a/libappbase/src/main/res/drawable/bg_toolbar_log.xml b/libappbase/src/main/res/drawable/bg_toolbar_log.xml new file mode 100644 index 0000000..84fda8a --- /dev/null +++ b/libappbase/src/main/res/drawable/bg_toolbar_log.xml @@ -0,0 +1,41 @@ + + + + + + + + + + + + + + + + + + + diff --git a/libappbase/src/main/res/layout/view_log.xml b/libappbase/src/main/res/layout/view_log.xml index fdf3f3d..f0857d4 100644 --- a/libappbase/src/main/res/layout/view_log.xml +++ b/libappbase/src/main/res/layout/view_log.xml @@ -12,7 +12,7 @@ android:layout_width="match_parent" android:layout_height="40dp" android:layout_alignParentTop="true" - android:background="@drawable/bg_shadow" + android:background="@drawable/bg_toolbar_log" android:id="@+id/viewlogRelativeLayoutToolbar">