From 68ddb22e83d54b24b16612cd8f62521ff117a56d Mon Sep 17 00:00:00 2001 From: ZhanGSKen Date: Fri, 1 May 2026 16:07:05 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E7=B1=BB=E5=BA=93=E9=A1=B9?= =?UTF-8?q?=E7=9B=AE=E6=A8=A1=E6=9D=BFlibdebugtemp=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- debugtemp/build.gradle | 1 + debugtemp/build.properties | 4 +-- .../studio/debugtemp/MainActivity.java | 13 ++++++--- .../src/main/res/layout/activity_main.xml | 6 +++++ libdebugtemp/.gitignore | 1 + libdebugtemp/build.gradle | 25 ++++++++++++++++++ libdebugtemp/build.properties | 8 ++++++ libdebugtemp/proguard-rules.pro | 17 ++++++++++++ libdebugtemp/src/main/AndroidManifest.xml | 13 +++++++++ .../cc/winboll/studio/LibraryActivity.java | 12 +++++++++ .../main/res/drawable-hdpi/ic_launcher.png | Bin 0 -> 9397 bytes .../main/res/drawable-mdpi/ic_launcher.png | Bin 0 -> 5237 bytes .../main/res/drawable-xhdpi/ic_launcher.png | Bin 0 -> 14383 bytes .../main/res/drawable-xxhdpi/ic_launcher.png | Bin 0 -> 19388 bytes libdebugtemp/src/main/res/layout/library.xml | 11 ++++++++ .../src/main/res/values-v21/styles.xml | 5 ++++ libdebugtemp/src/main/res/values/strings.xml | 8 ++++++ libdebugtemp/src/main/res/values/styles.xml | 5 ++++ settings.gradle-demo | 1 + 19 files changed, 124 insertions(+), 6 deletions(-) create mode 100644 libdebugtemp/.gitignore create mode 100644 libdebugtemp/build.gradle create mode 100644 libdebugtemp/build.properties create mode 100644 libdebugtemp/proguard-rules.pro create mode 100644 libdebugtemp/src/main/AndroidManifest.xml create mode 100644 libdebugtemp/src/main/java/cc/winboll/studio/LibraryActivity.java create mode 100644 libdebugtemp/src/main/res/drawable-hdpi/ic_launcher.png create mode 100644 libdebugtemp/src/main/res/drawable-mdpi/ic_launcher.png create mode 100644 libdebugtemp/src/main/res/drawable-xhdpi/ic_launcher.png create mode 100644 libdebugtemp/src/main/res/drawable-xxhdpi/ic_launcher.png create mode 100644 libdebugtemp/src/main/res/layout/library.xml create mode 100644 libdebugtemp/src/main/res/values-v21/styles.xml create mode 100644 libdebugtemp/src/main/res/values/strings.xml create mode 100644 libdebugtemp/src/main/res/values/styles.xml diff --git a/debugtemp/build.gradle b/debugtemp/build.gradle index de26ca8..12e9985 100644 --- a/debugtemp/build.gradle +++ b/debugtemp/build.gradle @@ -50,6 +50,7 @@ android { } dependencies { + api project(':libdebugtemp') api 'com.google.code.gson:gson:2.10.1' diff --git a/debugtemp/build.properties b/debugtemp/build.properties index 189a54e..a4f6736 100644 --- a/debugtemp/build.properties +++ b/debugtemp/build.properties @@ -1,8 +1,8 @@ #Created by .winboll/winboll_app_build.gradle -#Tue Mar 17 06:06:00 HKT 2026 +#Fri May 01 08:03:40 GMT 2026 stageCount=55 libraryProject= baseVersion=15.0 publishVersion=15.0.54 -buildCount=0 +buildCount=1 baseBetaVersion=15.0.55 diff --git a/debugtemp/src/main/java/cc/winboll/studio/debugtemp/MainActivity.java b/debugtemp/src/main/java/cc/winboll/studio/debugtemp/MainActivity.java index f603cf7..4f5927b 100644 --- a/debugtemp/src/main/java/cc/winboll/studio/debugtemp/MainActivity.java +++ b/debugtemp/src/main/java/cc/winboll/studio/debugtemp/MainActivity.java @@ -1,16 +1,17 @@ package cc.winboll.studio.debugtemp; - - +import android.content.Intent; import android.os.Bundle; +import android.view.View; import androidx.appcompat.app.AppCompatActivity; import androidx.appcompat.widget.Toolbar; +import cc.winboll.studio.LibraryActivity; import cc.winboll.studio.libappbase.LogView; import cc.winboll.studio.libappbase.ToastUtils; public class MainActivity extends AppCompatActivity { - LogView mLogView; + LogView mLogView; @Override protected void onCreate(Bundle savedInstanceState) { @@ -21,7 +22,7 @@ public class MainActivity extends AppCompatActivity { setSupportActionBar(toolbar); mLogView = findViewById(R.id.logview); - + ToastUtils.show("onCreate"); } @@ -30,4 +31,8 @@ public class MainActivity extends AppCompatActivity { super.onResume(); mLogView.start(); } + + public void onLibraryActivity(View view) { + startActivity(new Intent(this, LibraryActivity.class)); + } } diff --git a/debugtemp/src/main/res/layout/activity_main.xml b/debugtemp/src/main/res/layout/activity_main.xml index ab48782..ee193ec 100644 --- a/debugtemp/src/main/res/layout/activity_main.xml +++ b/debugtemp/src/main/res/layout/activity_main.xml @@ -32,6 +32,12 @@ android:text="DebugTemp" android:textAppearance="?android:attr/textAppearanceLarge"/> +