From d5630876d9a08e62458a5ffee32681d13a7edf98 Mon Sep 17 00:00:00 2001 From: hyb1996 <946994919@qq.com> Date: Fri, 25 May 2018 20:09:51 +0800 Subject: [PATCH] add missing files --- .idea/caches/build_file_checksums.ser | Bin 0 -> 733 bytes .idea/codeStyles/Project.xml | 221 ++++++++++++++++++ .idea/codeStyles/codeStyleConfig.xml | 5 + app/build.gradle | 4 +- .../ThemeColorMaterialDialogBuilder.java | 28 +++ autojs/src/main/assets/.vscode/launch.json | 14 ++ common/release/output.json | 1 + coolapk/release/output.json | 1 + 8 files changed, 272 insertions(+), 2 deletions(-) create mode 100644 .idea/caches/build_file_checksums.ser create mode 100644 .idea/codeStyles/Project.xml create mode 100644 .idea/codeStyles/codeStyleConfig.xml create mode 100644 app/src/main/java/org/autojs/autojs/theme/dialog/ThemeColorMaterialDialogBuilder.java create mode 100644 autojs/src/main/assets/.vscode/launch.json create mode 100644 common/release/output.json create mode 100644 coolapk/release/output.json diff --git a/.idea/caches/build_file_checksums.ser b/.idea/caches/build_file_checksums.ser new file mode 100644 index 0000000000000000000000000000000000000000..09d75975d02ba7905e910b97169e0632e871a7ac GIT binary patch literal 733 zcmZ4UmVvdnh`~NNKUXg?FQq6yGexf?KR>5fFEb@IQ7^qHF(oHeub?PDD>b=9F91S2 zm1gFoxMk*~I%lLNXBU^|7Q2L-Ts|(GuF1r}uGBYr_F>vMNC#JY1CYR(Fc`|U8WE7s7L{bC7MH@!xgy(h zv!7uT%gYAN8E<|#)s--aC6<=t=OzL}0*BS%w$h<*KNfDhoO)#2!+Xwo14Aw+KRGc6lnO8$a@k?yqrQ{#RF(EVdc4H2aB&HPU}j!X z2@W?T*e%jj^ + + + \ No newline at end of file diff --git a/.idea/codeStyles/codeStyleConfig.xml b/.idea/codeStyles/codeStyleConfig.xml new file mode 100644 index 00000000..8f1a3b79 --- /dev/null +++ b/.idea/codeStyles/codeStyleConfig.xml @@ -0,0 +1,5 @@ + + + + \ No newline at end of file diff --git a/app/build.gradle b/app/build.gradle index 05d0b0c3..d7af1f9a 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -8,8 +8,8 @@ android { applicationId "org.autojs.autojs" minSdkVersion 17 targetSdkVersion 23 - versionCode 263 - versionName "3.1.1 Alpha7" + versionCode 400 + versionName "4.0.0 Alpha" testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" multiDexEnabled true ndk { diff --git a/app/src/main/java/org/autojs/autojs/theme/dialog/ThemeColorMaterialDialogBuilder.java b/app/src/main/java/org/autojs/autojs/theme/dialog/ThemeColorMaterialDialogBuilder.java new file mode 100644 index 00000000..add6b009 --- /dev/null +++ b/app/src/main/java/org/autojs/autojs/theme/dialog/ThemeColorMaterialDialogBuilder.java @@ -0,0 +1,28 @@ +package org.autojs.autojs.theme.dialog; + +import android.content.Context; +import android.support.annotation.NonNull; + +import com.afollestad.materialdialogs.MaterialDialog; +import com.stardust.theme.ThemeColor; +import com.stardust.theme.ThemeColorManager; +import com.stardust.theme.ThemeColorMutable; + +/** + * Created by Stardust on 2017/3/5. + */ + +public class ThemeColorMaterialDialogBuilder extends MaterialDialog.Builder implements ThemeColorMutable { + public ThemeColorMaterialDialogBuilder(@NonNull Context context) { + super(context); + ThemeColorManager.add(this); + } + + @Override + public void setThemeColor(ThemeColor themeColor) { + int color = themeColor.colorPrimary; + positiveColor(color); + negativeColor(color); + neutralColor(color); + } +} diff --git a/autojs/src/main/assets/.vscode/launch.json b/autojs/src/main/assets/.vscode/launch.json new file mode 100644 index 00000000..897fbc7a --- /dev/null +++ b/autojs/src/main/assets/.vscode/launch.json @@ -0,0 +1,14 @@ +{ + // 使用 IntelliSense 了解相关属性。 + // 悬停以查看现有属性的描述。 + // 欲了解更多信息,请访问: https://go.microsoft.com/fwlink/?linkid=830387 + "version": "0.2.0", + "configurations": [ + { + "type": "node", + "request": "launch", + "name": "启动程序", + "program": "${file}" + } + ] +} \ No newline at end of file diff --git a/common/release/output.json b/common/release/output.json new file mode 100644 index 00000000..9660bb09 --- /dev/null +++ b/common/release/output.json @@ -0,0 +1 @@ +[{"outputType":{"type":"APK"},"apkInfo":{"type":"MAIN","splits":[],"versionCode":263},"path":"commonRelease-4.0.0 Alpha.apk","properties":{"packageId":"org.autojs.autojs","split":"","minSdkVersion":"17"}}] \ No newline at end of file diff --git a/coolapk/release/output.json b/coolapk/release/output.json new file mode 100644 index 00000000..9585b1c7 --- /dev/null +++ b/coolapk/release/output.json @@ -0,0 +1 @@ +[{"outputType":{"type":"APK"},"apkInfo":{"type":"MAIN","splits":[],"versionCode":256},"path":"coolapkRelease-3.1.0 Beta.apk","properties":{"packageId":"org.autojs.autojs","split":"","minSdkVersion":"17"}}] \ No newline at end of file