Compare commits
34 Commits
debugtemp-
...
debugtemp-
| Author | SHA1 | Date | |
|---|---|---|---|
| ed96d0ed07 | |||
| e69ffa4e66 | |||
| 68ddb22e83 | |||
| d027c8affc | |||
| 7bf6007117 | |||
| 870bf6f8d2 | |||
| 8d8922f3f1 | |||
| ff03270429 | |||
| c9ec7e9a63 | |||
| d747ab2ea8 | |||
| eda55b23c3 | |||
| df717290ec | |||
| 9dae7a01c4 | |||
| fa34ef3b75 | |||
| 25b395b864 | |||
| ef837e9b32 | |||
| 52677bf9cf | |||
| 209a73943e | |||
| 490d3c9da6 | |||
| 01109f9ae9 | |||
| 35a077d01f | |||
| 6003bec1a1 | |||
| 71f4663198 | |||
| 33e3a7c24a | |||
| ed8391ad2c | |||
| 159d2199ae | |||
| 1365a1e499 | |||
| b3a5407442 | |||
| 7a48358cbb | |||
| 04429ab30b | |||
| d85b04f02d | |||
| e641c66b72 | |||
| 69a9eb09af | |||
| d3351b699b |
@@ -50,6 +50,7 @@ android {
|
|||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
|
api project(':libdebugtemp')
|
||||||
|
|
||||||
api 'com.google.code.gson:gson:2.10.1'
|
api 'com.google.code.gson:gson:2.10.1'
|
||||||
|
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
#Created by .winboll/winboll_app_build.gradle
|
#Created by .winboll/winboll_app_build.gradle
|
||||||
#Tue Mar 17 03:20:26 HKT 2026
|
#Fri May 01 17:08:09 HKT 2026
|
||||||
stageCount=24
|
stageCount=56
|
||||||
libraryProject=
|
libraryProject=libdebugtemp
|
||||||
baseVersion=15.0
|
baseVersion=15.0
|
||||||
publishVersion=15.0.23
|
publishVersion=15.0.55
|
||||||
buildCount=0
|
buildCount=0
|
||||||
baseBetaVersion=15.0.24
|
baseBetaVersion=15.0.56
|
||||||
|
|||||||
@@ -1,16 +1,17 @@
|
|||||||
package cc.winboll.studio.debugtemp;
|
package cc.winboll.studio.debugtemp;
|
||||||
|
|
||||||
|
import android.content.Intent;
|
||||||
|
|
||||||
import android.os.Bundle;
|
import android.os.Bundle;
|
||||||
|
import android.view.View;
|
||||||
import androidx.appcompat.app.AppCompatActivity;
|
import androidx.appcompat.app.AppCompatActivity;
|
||||||
import androidx.appcompat.widget.Toolbar;
|
import androidx.appcompat.widget.Toolbar;
|
||||||
|
import cc.winboll.studio.LibraryActivity;
|
||||||
import cc.winboll.studio.libappbase.LogView;
|
import cc.winboll.studio.libappbase.LogView;
|
||||||
import cc.winboll.studio.libappbase.ToastUtils;
|
import cc.winboll.studio.libappbase.ToastUtils;
|
||||||
|
|
||||||
public class MainActivity extends AppCompatActivity {
|
public class MainActivity extends AppCompatActivity {
|
||||||
|
|
||||||
LogView mLogView;
|
LogView mLogView;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void onCreate(Bundle savedInstanceState) {
|
protected void onCreate(Bundle savedInstanceState) {
|
||||||
@@ -21,7 +22,7 @@ public class MainActivity extends AppCompatActivity {
|
|||||||
setSupportActionBar(toolbar);
|
setSupportActionBar(toolbar);
|
||||||
|
|
||||||
mLogView = findViewById(R.id.logview);
|
mLogView = findViewById(R.id.logview);
|
||||||
|
|
||||||
ToastUtils.show("onCreate");
|
ToastUtils.show("onCreate");
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -30,4 +31,8 @@ public class MainActivity extends AppCompatActivity {
|
|||||||
super.onResume();
|
super.onResume();
|
||||||
mLogView.start();
|
mLogView.start();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void onLibraryActivity(View view) {
|
||||||
|
startActivity(new Intent(this, LibraryActivity.class));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -32,6 +32,12 @@
|
|||||||
android:text="DebugTemp"
|
android:text="DebugTemp"
|
||||||
android:textAppearance="?android:attr/textAppearanceLarge"/>
|
android:textAppearance="?android:attr/textAppearanceLarge"/>
|
||||||
|
|
||||||
|
<Button
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:text="Open LibraryActivity"
|
||||||
|
android:onClick="onLibraryActivity"/>
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
|
|||||||
1
libdebugtemp/.gitignore
vendored
Normal file
1
libdebugtemp/.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
/build
|
||||||
25
libdebugtemp/build.gradle
Normal file
25
libdebugtemp/build.gradle
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
apply plugin: 'com.android.library'
|
||||||
|
apply plugin: 'maven-publish'
|
||||||
|
apply from: '../.winboll/winboll_lib_build.gradle'
|
||||||
|
apply from: '../.winboll/winboll_lint_build.gradle'
|
||||||
|
|
||||||
|
android {
|
||||||
|
// 适配MIUI12
|
||||||
|
compileSdkVersion 30
|
||||||
|
buildToolsVersion "30.0.3"
|
||||||
|
|
||||||
|
defaultConfig {
|
||||||
|
minSdkVersion 21
|
||||||
|
targetSdkVersion 30
|
||||||
|
}
|
||||||
|
buildTypes {
|
||||||
|
release {
|
||||||
|
minifyEnabled false
|
||||||
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
dependencies {
|
||||||
|
api fileTree(dir: 'libs', include: ['*.jar'])
|
||||||
|
}
|
||||||
8
libdebugtemp/build.properties
Normal file
8
libdebugtemp/build.properties
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
#Created by .winboll/winboll_app_build.gradle
|
||||||
|
#Fri May 01 17:08:09 HKT 2026
|
||||||
|
stageCount=56
|
||||||
|
libraryProject=libdebugtemp
|
||||||
|
baseVersion=15.0
|
||||||
|
publishVersion=15.0.55
|
||||||
|
buildCount=0
|
||||||
|
baseBetaVersion=15.0.56
|
||||||
17
libdebugtemp/proguard-rules.pro
vendored
Normal file
17
libdebugtemp/proguard-rules.pro
vendored
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
# Add project specific ProGuard rules here.
|
||||||
|
# By default, the flags in this file are appended to flags specified
|
||||||
|
# in C:/tools/adt-bundle-windows-x86_64-20131030/sdk/tools/proguard/proguard-android.txt
|
||||||
|
# You can edit the include path and order by changing the proguardFiles
|
||||||
|
# directive in build.gradle.
|
||||||
|
#
|
||||||
|
# For more details, see
|
||||||
|
# http://developer.android.com/guide/developing/tools/proguard.html
|
||||||
|
|
||||||
|
# Add any project specific keep options here:
|
||||||
|
|
||||||
|
# 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 *;
|
||||||
|
#}
|
||||||
13
libdebugtemp/src/main/AndroidManifest.xml
Normal file
13
libdebugtemp/src/main/AndroidManifest.xml
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
package="cc.winboll.studio" >
|
||||||
|
|
||||||
|
<application>
|
||||||
|
<activity
|
||||||
|
android:name=".LibraryActivity"
|
||||||
|
android:label="@string/lib_name" >
|
||||||
|
</activity>
|
||||||
|
</application>
|
||||||
|
|
||||||
|
</manifest>
|
||||||
|
|
||||||
@@ -0,0 +1,12 @@
|
|||||||
|
package cc.winboll.studio;
|
||||||
|
|
||||||
|
import android.app.Activity;
|
||||||
|
import android.os.Bundle;
|
||||||
|
|
||||||
|
public class LibraryActivity extends Activity {
|
||||||
|
@Override
|
||||||
|
protected void onCreate(Bundle savedInstanceState) {
|
||||||
|
super.onCreate(savedInstanceState);
|
||||||
|
setContentView(R.layout.library);
|
||||||
|
}
|
||||||
|
}
|
||||||
BIN
libdebugtemp/src/main/res/drawable-hdpi/ic_launcher.png
Normal file
BIN
libdebugtemp/src/main/res/drawable-hdpi/ic_launcher.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 9.2 KiB |
BIN
libdebugtemp/src/main/res/drawable-mdpi/ic_launcher.png
Normal file
BIN
libdebugtemp/src/main/res/drawable-mdpi/ic_launcher.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 5.1 KiB |
BIN
libdebugtemp/src/main/res/drawable-xhdpi/ic_launcher.png
Normal file
BIN
libdebugtemp/src/main/res/drawable-xhdpi/ic_launcher.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 14 KiB |
BIN
libdebugtemp/src/main/res/drawable-xxhdpi/ic_launcher.png
Normal file
BIN
libdebugtemp/src/main/res/drawable-xxhdpi/ic_launcher.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 19 KiB |
11
libdebugtemp/src/main/res/layout/library.xml
Normal file
11
libdebugtemp/src/main/res/layout/library.xml
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="match_parent"
|
||||||
|
android:gravity="center">
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:text="@string/text_libraryactivity"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content" />
|
||||||
|
|
||||||
|
</LinearLayout>
|
||||||
5
libdebugtemp/src/main/res/values-v21/styles.xml
Normal file
5
libdebugtemp/src/main/res/values-v21/styles.xml
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<resources>
|
||||||
|
<style name="AppTheme" parent="@android:style/Theme.Material.Light">
|
||||||
|
</style>
|
||||||
|
</resources>
|
||||||
8
libdebugtemp/src/main/res/values/strings.xml
Normal file
8
libdebugtemp/src/main/res/values/strings.xml
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<resources>
|
||||||
|
|
||||||
|
<string name="lib_name">libdebugtemp</string>
|
||||||
|
<string name="hello_world">Hello world!</string>
|
||||||
|
<string name="text_libraryactivity">LibraryActivity</string>
|
||||||
|
|
||||||
|
</resources>
|
||||||
5
libdebugtemp/src/main/res/values/styles.xml
Normal file
5
libdebugtemp/src/main/res/values/styles.xml
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<resources>
|
||||||
|
<style name="AppTheme" parent="@android:style/Theme.Holo.Light">
|
||||||
|
</style>
|
||||||
|
</resources>
|
||||||
@@ -80,4 +80,5 @@
|
|||||||
|
|
||||||
// DebugTemp 项目编译设置
|
// DebugTemp 项目编译设置
|
||||||
//include ':debugtemp'
|
//include ':debugtemp'
|
||||||
|
//include ':libdebugtemp'
|
||||||
//rootProject.name = "debugtemp"
|
//rootProject.name = "debugtemp"
|
||||||
|
|||||||
Reference in New Issue
Block a user