疑似APP模块项目命名问题,系统出现病毒报错。现在移除该模块项目。
This commit is contained in:
		@@ -1 +0,0 @@
 | 
				
			|||||||
 | 
					 | 
				
			||||||
@@ -1,72 +0,0 @@
 | 
				
			|||||||
apply plugin: 'com.android.application'
 | 
					 | 
				
			||||||
apply from: '../.winboll/winboll_app_build.gradle'
 | 
					 | 
				
			||||||
apply from: '../.winboll/winboll_lint_build.gradle'
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
def genVersionName(def versionName){
 | 
					 | 
				
			||||||
    // 检查编译标志位配置
 | 
					 | 
				
			||||||
    assert (winbollBuildProps['stageCount'] != null)
 | 
					 | 
				
			||||||
    assert (winbollBuildProps['baseVersion'] != null)
 | 
					 | 
				
			||||||
    // 保存基础版本号
 | 
					 | 
				
			||||||
    winbollBuildProps.setProperty("baseVersion", "${versionName}");
 | 
					 | 
				
			||||||
    //保存编译标志配置
 | 
					 | 
				
			||||||
    FileOutputStream fos = new FileOutputStream(winbollBuildPropsFile)
 | 
					 | 
				
			||||||
    winbollBuildProps.store(fos, "${winbollBuildPropsDesc}");
 | 
					 | 
				
			||||||
    fos.close();
 | 
					 | 
				
			||||||
    
 | 
					 | 
				
			||||||
    // 返回编译版本号
 | 
					 | 
				
			||||||
    return "${versionName}." + winbollBuildProps['stageCount']
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
android {
 | 
					 | 
				
			||||||
    compileSdkVersion 32
 | 
					 | 
				
			||||||
    buildToolsVersion "32.0.0"
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    defaultConfig {
 | 
					 | 
				
			||||||
        applicationId "cc.winboll.studio.app"
 | 
					 | 
				
			||||||
        minSdkVersion 24
 | 
					 | 
				
			||||||
        targetSdkVersion 29
 | 
					 | 
				
			||||||
        versionCode 1
 | 
					 | 
				
			||||||
        // versionName 更新后需要手动设置 
 | 
					 | 
				
			||||||
        // 项目模块目录的 build.gradle 文件的 stageCount=0
 | 
					 | 
				
			||||||
        // Gradle编译环境下合起来的 versionName 就是 "${versionName}.0"
 | 
					 | 
				
			||||||
        versionName "15.0" 
 | 
					 | 
				
			||||||
        if(true) {
 | 
					 | 
				
			||||||
            versionName = genVersionName("${versionName}")
 | 
					 | 
				
			||||||
        }
 | 
					 | 
				
			||||||
    }
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    buildTypes {
 | 
					 | 
				
			||||||
        release {
 | 
					 | 
				
			||||||
            minifyEnabled false
 | 
					 | 
				
			||||||
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
 | 
					 | 
				
			||||||
        }
 | 
					 | 
				
			||||||
    }
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
dependencies {
 | 
					 | 
				
			||||||
	api fileTree(dir: 'libs', include: ['*.jar'])
 | 
					 | 
				
			||||||
    // SSH
 | 
					 | 
				
			||||||
    api 'com.jcraft:jsch:0.1.55'
 | 
					 | 
				
			||||||
    // Html 解析
 | 
					 | 
				
			||||||
    api 'org.jsoup:jsoup:1.13.1'
 | 
					 | 
				
			||||||
    // 二维码类库
 | 
					 | 
				
			||||||
    api 'com.google.zxing:core:3.4.1'
 | 
					 | 
				
			||||||
    api 'com.journeyapps:zxing-android-embedded:3.6.0'
 | 
					 | 
				
			||||||
    // 应用介绍页类库
 | 
					 | 
				
			||||||
    api 'io.github.medyo:android-about-page:2.0.0'
 | 
					 | 
				
			||||||
    // 吐司类库
 | 
					 | 
				
			||||||
    api 'com.github.getActivity:ToastUtils:10.5'
 | 
					 | 
				
			||||||
    // 网络连接类库
 | 
					 | 
				
			||||||
    api 'com.squareup.okhttp3:okhttp:4.4.1'
 | 
					 | 
				
			||||||
    // AndroidX 类库
 | 
					 | 
				
			||||||
    api 'androidx.appcompat:appcompat:1.1.0'
 | 
					 | 
				
			||||||
    api 'com.google.android.material:material:1.4.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 'cc.winboll.studio:libaes:15.2.4'
 | 
					 | 
				
			||||||
    api 'cc.winboll.studio:libapputils:15.2.1'
 | 
					 | 
				
			||||||
    api 'cc.winboll.studio:libappbase:15.2.2'
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
@@ -1,8 +0,0 @@
 | 
				
			|||||||
#Created by .winboll/winboll_app_build.gradle
 | 
					 | 
				
			||||||
#Fri Apr 11 12:16:58 HKT 2025
 | 
					 | 
				
			||||||
stageCount=4
 | 
					 | 
				
			||||||
libraryProject=
 | 
					 | 
				
			||||||
baseVersion=15.0
 | 
					 | 
				
			||||||
publishVersion=15.0.3
 | 
					 | 
				
			||||||
buildCount=0
 | 
					 | 
				
			||||||
baseBetaVersion=15.0.4
 | 
					 | 
				
			||||||
							
								
								
									
										17
									
								
								app/proguard-rules.pro
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										17
									
								
								app/proguard-rules.pro
									
									
									
									
										vendored
									
									
								
							@@ -1,17 +0,0 @@
 | 
				
			|||||||
# 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 *;
 | 
					 | 
				
			||||||
#}
 | 
					 | 
				
			||||||
@@ -1,13 +0,0 @@
 | 
				
			|||||||
<?xml version="1.0" encoding="utf-8"?>
 | 
					 | 
				
			||||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
 | 
					 | 
				
			||||||
    xmlns:tools="http://schemas.android.com/tools" >
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    <application
 | 
					 | 
				
			||||||
        tools:replace="android:icon"
 | 
					 | 
				
			||||||
        android:icon="@drawable/ic_winbollbeta">
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
        <!-- Put flavor specific code here -->
 | 
					 | 
				
			||||||
    </application>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
</manifest>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
@@ -1,6 +0,0 @@
 | 
				
			|||||||
<?xml version="1.0" encoding="utf-8"?>
 | 
					 | 
				
			||||||
<resources>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    <string name="app_name">APP+</string>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
</resources>
 | 
					 | 
				
			||||||
@@ -1,49 +0,0 @@
 | 
				
			|||||||
<?xml version='1.0' encoding='utf-8'?>
 | 
					 | 
				
			||||||
<manifest
 | 
					 | 
				
			||||||
    xmlns:android="http://schemas.android.com/apk/res/android"
 | 
					 | 
				
			||||||
    package="cc.winboll.studio.app">
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    <!-- BIND_AUTOFILL_SERVICE -->
 | 
					 | 
				
			||||||
    <uses-permission android:name="android.permission.BIND_AUTOFILL_SERVICE"/>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    <application
 | 
					 | 
				
			||||||
        android:name=".App"
 | 
					 | 
				
			||||||
        android:allowBackup="true"
 | 
					 | 
				
			||||||
        android:icon="@drawable/ic_winboll"
 | 
					 | 
				
			||||||
        android:label="@string/app_name"
 | 
					 | 
				
			||||||
        android:theme="@style/AESTheme"
 | 
					 | 
				
			||||||
        android:supportsRtl="true">
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
        <activity
 | 
					 | 
				
			||||||
            android:name=".MainActivity"
 | 
					 | 
				
			||||||
            android:label="@string/app_name"
 | 
					 | 
				
			||||||
            android:launchMode="singleTask"
 | 
					 | 
				
			||||||
            android:exported="true">
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
            <intent-filter>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                <action android:name="android.intent.action.MAIN"/>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                <category android:name="android.intent.category.LAUNCHER"/>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
            </intent-filter>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
        </activity>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
        <provider
 | 
					 | 
				
			||||||
            android:name="androidx.core.content.FileProvider"
 | 
					 | 
				
			||||||
            android:authorities="${applicationId}.fileprovider"
 | 
					 | 
				
			||||||
            android:exported="false"
 | 
					 | 
				
			||||||
            android:grantUriPermissions="true">
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
            <meta-data
 | 
					 | 
				
			||||||
                android:name="android.support.FILE_PROVIDER_PATHS"
 | 
					 | 
				
			||||||
                android:resource="@xml/studio_provider"/>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
        </provider>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
        <activity android:name=".AboutActivity"/>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    </application>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
</manifest>
 | 
					 | 
				
			||||||
@@ -1,88 +0,0 @@
 | 
				
			|||||||
package cc.winboll.studio.app;
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
/**
 | 
					 | 
				
			||||||
 * @Author ZhanGSKen@AliYun.Com
 | 
					 | 
				
			||||||
 * @Date 2025/03/24 23:52:29
 | 
					 | 
				
			||||||
 * @Describe 应用介绍窗口
 | 
					 | 
				
			||||||
 */
 | 
					 | 
				
			||||||
import android.app.Activity;
 | 
					 | 
				
			||||||
import android.content.Context;
 | 
					 | 
				
			||||||
import android.os.Bundle;
 | 
					 | 
				
			||||||
import android.view.ViewGroup;
 | 
					 | 
				
			||||||
import android.widget.LinearLayout;
 | 
					 | 
				
			||||||
import androidx.appcompat.widget.Toolbar;
 | 
					 | 
				
			||||||
import cc.winboll.studio.app.R;
 | 
					 | 
				
			||||||
import cc.winboll.studio.libaes.winboll.APPInfo;
 | 
					 | 
				
			||||||
import cc.winboll.studio.libaes.winboll.AboutView;
 | 
					 | 
				
			||||||
import cc.winboll.studio.libappbase.GlobalApplication;
 | 
					 | 
				
			||||||
import cc.winboll.studio.libappbase.winboll.IWinBollActivity;
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
public class AboutActivity extends WinBollActivity implements IWinBollActivity {
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    public static final String TAG = "AboutActivity";
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    Context mContext;
 | 
					 | 
				
			||||||
    Toolbar mToolbar;
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    @Override
 | 
					 | 
				
			||||||
    public Activity getActivity() {
 | 
					 | 
				
			||||||
        return this;
 | 
					 | 
				
			||||||
    }
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    @Override
 | 
					 | 
				
			||||||
    public String getTag() {
 | 
					 | 
				
			||||||
        return TAG;
 | 
					 | 
				
			||||||
    }
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    @Override
 | 
					 | 
				
			||||||
    protected void onCreate(Bundle savedInstanceState) {
 | 
					 | 
				
			||||||
        super.onCreate(savedInstanceState);
 | 
					 | 
				
			||||||
        mContext = this;
 | 
					 | 
				
			||||||
        setContentView(R.layout.activity_about);
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
        mToolbar = findViewById(R.id.toolbar);
 | 
					 | 
				
			||||||
        setSupportActionBar(mToolbar);
 | 
					 | 
				
			||||||
        mToolbar.setSubtitle(TAG);
 | 
					 | 
				
			||||||
        getSupportActionBar().setDisplayHomeAsUpEnabled(true);
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
        AboutView aboutView = CreateAboutView();
 | 
					 | 
				
			||||||
        // 在 Activity 的 onCreate 或其他生命周期方法中调用
 | 
					 | 
				
			||||||
//        LinearLayout layout = new LinearLayout(this);
 | 
					 | 
				
			||||||
//        layout.setOrientation(LinearLayout.VERTICAL);
 | 
					 | 
				
			||||||
//        // 创建布局参数(宽度和高度)
 | 
					 | 
				
			||||||
//        ViewGroup.LayoutParams params = new ViewGroup.LayoutParams(
 | 
					 | 
				
			||||||
//            ViewGroup.LayoutParams.MATCH_PARENT,
 | 
					 | 
				
			||||||
//            ViewGroup.LayoutParams.MATCH_PARENT
 | 
					 | 
				
			||||||
//        );
 | 
					 | 
				
			||||||
//        addContentView(aboutView, params);
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
        LinearLayout layout = findViewById(R.id.aboutviewroot_ll);
 | 
					 | 
				
			||||||
        // 创建布局参数(宽度和高度)
 | 
					 | 
				
			||||||
        ViewGroup.LayoutParams params = new ViewGroup.LayoutParams(
 | 
					 | 
				
			||||||
            ViewGroup.LayoutParams.MATCH_PARENT,
 | 
					 | 
				
			||||||
            ViewGroup.LayoutParams.MATCH_PARENT
 | 
					 | 
				
			||||||
        );
 | 
					 | 
				
			||||||
        layout.addView(aboutView, params);
 | 
					 | 
				
			||||||
    }
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    @Override
 | 
					 | 
				
			||||||
    protected void onDestroy() {
 | 
					 | 
				
			||||||
        super.onDestroy();
 | 
					 | 
				
			||||||
    }
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    public AboutView CreateAboutView() {
 | 
					 | 
				
			||||||
        String szBranchName = "app";
 | 
					 | 
				
			||||||
        APPInfo appInfo = new APPInfo();
 | 
					 | 
				
			||||||
        appInfo.setAppName("APP");
 | 
					 | 
				
			||||||
        appInfo.setAppIcon(cc.winboll.studio.libaes.R.drawable.ic_winboll);
 | 
					 | 
				
			||||||
        appInfo.setAppDescription("WinBoll APP");
 | 
					 | 
				
			||||||
        appInfo.setAppGitName("APP");
 | 
					 | 
				
			||||||
        appInfo.setAppGitOwner("Studio");
 | 
					 | 
				
			||||||
        appInfo.setAppGitAPPBranch(szBranchName);
 | 
					 | 
				
			||||||
        appInfo.setAppGitAPPSubProjectFolder(szBranchName);
 | 
					 | 
				
			||||||
        appInfo.setAppHomePage("https://www.winboll.cc/studio/details.php?app=APP");
 | 
					 | 
				
			||||||
        appInfo.setAppAPKName("APP");
 | 
					 | 
				
			||||||
        appInfo.setAppAPKFolderName("APP");
 | 
					 | 
				
			||||||
        return new AboutView(mContext, appInfo);
 | 
					 | 
				
			||||||
    }
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
@@ -1,30 +0,0 @@
 | 
				
			|||||||
package cc.winboll.studio.app;
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
/**
 | 
					 | 
				
			||||||
 * @Author ZhanGSKen@QQ.COM
 | 
					 | 
				
			||||||
 * @Date 2024/12/08 15:10:51
 | 
					 | 
				
			||||||
 * @Describe 全局应用类
 | 
					 | 
				
			||||||
 */
 | 
					 | 
				
			||||||
import android.view.Gravity;
 | 
					 | 
				
			||||||
import cc.winboll.studio.libappbase.GlobalApplication;
 | 
					 | 
				
			||||||
import cc.winboll.studio.libappbase.winboll.WinBollActivityManager;
 | 
					 | 
				
			||||||
import com.hjq.toast.ToastUtils;
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
public class App extends GlobalApplication {
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    public static final String TAG = "App";
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    @Override
 | 
					 | 
				
			||||||
    public void onCreate() {
 | 
					 | 
				
			||||||
        super.onCreate();
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
        // 初始化 Toast 框架
 | 
					 | 
				
			||||||
        ToastUtils.init(this);
 | 
					 | 
				
			||||||
        // 设置 Toast 布局样式
 | 
					 | 
				
			||||||
        //ToastUtils.setView(R.layout.toast_custom_view);
 | 
					 | 
				
			||||||
        //ToastUtils.setStyle(new WhiteToastStyle());
 | 
					 | 
				
			||||||
        ToastUtils.setGravity(Gravity.BOTTOM, 0, 200);
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
        getWinBollActivityManager().setWinBollUI_TYPE(WinBollActivityManager.WinBollUI_TYPE.Service);
 | 
					 | 
				
			||||||
    }
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
@@ -1,91 +0,0 @@
 | 
				
			|||||||
package cc.winboll.studio.app;
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
import android.app.Activity;
 | 
					 | 
				
			||||||
import android.content.Intent;
 | 
					 | 
				
			||||||
import android.os.Bundle;
 | 
					 | 
				
			||||||
import android.view.Menu;
 | 
					 | 
				
			||||||
import android.view.MenuItem;
 | 
					 | 
				
			||||||
import androidx.appcompat.widget.Toolbar;
 | 
					 | 
				
			||||||
import cc.winboll.studio.app.R;
 | 
					 | 
				
			||||||
import cc.winboll.studio.libappbase.LogUtils;
 | 
					 | 
				
			||||||
import cc.winboll.studio.libappbase.dialogs.YesNoAlertDialog;
 | 
					 | 
				
			||||||
import cc.winboll.studio.libappbase.winboll.IWinBollActivity;
 | 
					 | 
				
			||||||
import cc.winboll.studio.libappbase.winboll.WinBollActivityManager;
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
final public class MainActivity extends WinBollActivity implements IWinBollActivity {
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
	public static final String TAG = "MainActivity";
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    Toolbar mToolbar;
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    @Override
 | 
					 | 
				
			||||||
    public Activity getActivity() {
 | 
					 | 
				
			||||||
        return this;
 | 
					 | 
				
			||||||
    }
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    @Override
 | 
					 | 
				
			||||||
    public String getTag() {
 | 
					 | 
				
			||||||
        return TAG;
 | 
					 | 
				
			||||||
    }
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    @Override
 | 
					 | 
				
			||||||
    protected void onCreate(Bundle savedInstanceState) {
 | 
					 | 
				
			||||||
        LogUtils.d(TAG, "onCreate(Bundle savedInstanceState)");
 | 
					 | 
				
			||||||
        super.onCreate(savedInstanceState);
 | 
					 | 
				
			||||||
        setContentView(R.layout.activity_main);
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
        mToolbar = findViewById(R.id.toolbar);
 | 
					 | 
				
			||||||
        setSupportActionBar(mToolbar);
 | 
					 | 
				
			||||||
        mToolbar.setSubtitle(TAG);
 | 
					 | 
				
			||||||
    }
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    @Override
 | 
					 | 
				
			||||||
    protected void onPostCreate(Bundle savedInstanceState) {
 | 
					 | 
				
			||||||
        super.onPostCreate(savedInstanceState);
 | 
					 | 
				
			||||||
    }
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    @Override
 | 
					 | 
				
			||||||
    protected void onDestroy() {
 | 
					 | 
				
			||||||
        super.onDestroy();
 | 
					 | 
				
			||||||
    }
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    @Override
 | 
					 | 
				
			||||||
    public void onBackPressed() {
 | 
					 | 
				
			||||||
        exit();
 | 
					 | 
				
			||||||
    }
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    void exit() {
 | 
					 | 
				
			||||||
        YesNoAlertDialog.OnDialogResultListener listener = new YesNoAlertDialog.OnDialogResultListener(){
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
            @Override
 | 
					 | 
				
			||||||
            public void onYes() {
 | 
					 | 
				
			||||||
                App.getWinBollActivityManager().finishAll();
 | 
					 | 
				
			||||||
            }
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
            @Override
 | 
					 | 
				
			||||||
            public void onNo() {
 | 
					 | 
				
			||||||
            }
 | 
					 | 
				
			||||||
        };
 | 
					 | 
				
			||||||
        YesNoAlertDialog.show(this, "[ " + getString(R.string.app_name) + " ]", "Exit(Yes/No).\nIs close all activity?", listener);
 | 
					 | 
				
			||||||
    }
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    @Override
 | 
					 | 
				
			||||||
    public boolean onCreateOptionsMenu(Menu menu) {
 | 
					 | 
				
			||||||
        getMenuInflater().inflate(R.menu.toolbar_main, menu);
 | 
					 | 
				
			||||||
        return super.onCreateOptionsMenu(menu);
 | 
					 | 
				
			||||||
    }
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    @Override
 | 
					 | 
				
			||||||
    public boolean onOptionsItemSelected(MenuItem item) {
 | 
					 | 
				
			||||||
        if (item.getItemId() == R.id.item_log) {
 | 
					 | 
				
			||||||
            App.getWinBollActivityManager().startLogActivity(this);
 | 
					 | 
				
			||||||
        } else if (item.getItemId() == R.id.item_about) {
 | 
					 | 
				
			||||||
            App.getWinBollActivityManager().startWinBollActivity(this, AboutActivity.class);
 | 
					 | 
				
			||||||
        } else if (item.getItemId() == R.id.item_exit) {
 | 
					 | 
				
			||||||
            exit();
 | 
					 | 
				
			||||||
            return true;
 | 
					 | 
				
			||||||
        }
 | 
					 | 
				
			||||||
        return super.onOptionsItemSelected(item);
 | 
					 | 
				
			||||||
    }
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
@@ -1,66 +0,0 @@
 | 
				
			|||||||
package cc.winboll.studio.app;
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
/**
 | 
					 | 
				
			||||||
 * @Author ZhanGSKen@AliYun.Com
 | 
					 | 
				
			||||||
 * @Date 2025/04/01 12:55:32
 | 
					 | 
				
			||||||
 * @Describe 应用窗口基类
 | 
					 | 
				
			||||||
 */
 | 
					 | 
				
			||||||
import android.app.Activity;
 | 
					 | 
				
			||||||
import android.os.Bundle;
 | 
					 | 
				
			||||||
import android.view.MenuItem;
 | 
					 | 
				
			||||||
import androidx.appcompat.app.AppCompatActivity;
 | 
					 | 
				
			||||||
import cc.winboll.studio.libaes.beans.AESThemeBean;
 | 
					 | 
				
			||||||
import cc.winboll.studio.libaes.utils.AESThemeUtil;
 | 
					 | 
				
			||||||
import cc.winboll.studio.libappbase.winboll.IWinBollActivity;
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
public class WinBollActivity extends AppCompatActivity implements IWinBollActivity {
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    public static final String TAG = "WinBollActivity";
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    protected volatile AESThemeBean.ThemeType mThemeType;
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    @Override
 | 
					 | 
				
			||||||
    public Activity getActivity() {
 | 
					 | 
				
			||||||
        return this;
 | 
					 | 
				
			||||||
    }
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    @Override
 | 
					 | 
				
			||||||
    public String getTag() {
 | 
					 | 
				
			||||||
        return TAG;
 | 
					 | 
				
			||||||
    }
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    @Override
 | 
					 | 
				
			||||||
    protected void onCreate(Bundle savedInstanceState) {
 | 
					 | 
				
			||||||
        mThemeType = getThemeType();
 | 
					 | 
				
			||||||
        super.onCreate(savedInstanceState);
 | 
					 | 
				
			||||||
        App.getWinBollActivityManager().add(this);
 | 
					 | 
				
			||||||
    }
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    @Override
 | 
					 | 
				
			||||||
    protected void onDestroy() {
 | 
					 | 
				
			||||||
        super.onDestroy();
 | 
					 | 
				
			||||||
        App.getWinBollActivityManager().registeRemove(this);
 | 
					 | 
				
			||||||
    }
 | 
					 | 
				
			||||||
    
 | 
					 | 
				
			||||||
    AESThemeBean.ThemeType getThemeType() {
 | 
					 | 
				
			||||||
        /*SharedPreferences sharedPreferences = getSharedPreferences(
 | 
					 | 
				
			||||||
         SHAREDPREFERENCES_NAME, MODE_PRIVATE);
 | 
					 | 
				
			||||||
         return AESThemeBean.ThemeType.values()[((sharedPreferences.getInt(DRAWER_THEME_TYPE, AESThemeBean.ThemeType.DEFAULT.ordinal())))];
 | 
					 | 
				
			||||||
         */
 | 
					 | 
				
			||||||
        return AESThemeBean.getThemeStyleType(AESThemeUtil.getThemeTypeID(getApplicationContext()));
 | 
					 | 
				
			||||||
    }
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    void setThemeStyle() {
 | 
					 | 
				
			||||||
        //setTheme(AESThemeBean.getThemeStyle(getThemeType()));
 | 
					 | 
				
			||||||
        setTheme(AESThemeUtil.getThemeTypeID(getApplicationContext()));
 | 
					 | 
				
			||||||
    }
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    @Override
 | 
					 | 
				
			||||||
    public boolean onOptionsItemSelected(MenuItem item) {
 | 
					 | 
				
			||||||
        if (item.getItemId() == android.R.id.home) {
 | 
					 | 
				
			||||||
            finish();
 | 
					 | 
				
			||||||
            return true;
 | 
					 | 
				
			||||||
        }
 | 
					 | 
				
			||||||
        return super.onOptionsItemSelected(item);
 | 
					 | 
				
			||||||
    }
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
@@ -1,11 +0,0 @@
 | 
				
			|||||||
<?xml version="1.0" encoding="utf-8"?>
 | 
					 | 
				
			||||||
<layer-list xmlns:android="http://schemas.android.com/apk/res/android"
 | 
					 | 
				
			||||||
    android:clickable="true">
 | 
					 | 
				
			||||||
    <item android:drawable="@drawable/ic_launcher_background"/> 
 | 
					 | 
				
			||||||
    <item 
 | 
					 | 
				
			||||||
        android:left="15dp" 
 | 
					 | 
				
			||||||
        android:top="15dp" 
 | 
					 | 
				
			||||||
        android:right="15dp" 
 | 
					 | 
				
			||||||
        android:bottom="15dp"
 | 
					 | 
				
			||||||
        android:drawable="@drawable/ic_launcher_foreground"/>
 | 
					 | 
				
			||||||
</layer-list>
 | 
					 | 
				
			||||||
@@ -1,170 +0,0 @@
 | 
				
			|||||||
<?xml version="1.0" encoding="utf-8"?>
 | 
					 | 
				
			||||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
 | 
					 | 
				
			||||||
    android:width="108dp"
 | 
					 | 
				
			||||||
    android:height="108dp"
 | 
					 | 
				
			||||||
    android:viewportWidth="108"
 | 
					 | 
				
			||||||
    android:viewportHeight="108">
 | 
					 | 
				
			||||||
    <path
 | 
					 | 
				
			||||||
        android:fillColor="@color/colorPrimary"
 | 
					 | 
				
			||||||
        android:pathData="M0,0h108v108h-108z" />
 | 
					 | 
				
			||||||
    <path
 | 
					 | 
				
			||||||
        android:fillColor="#00000000"
 | 
					 | 
				
			||||||
        android:pathData="M9,0L9,108"
 | 
					 | 
				
			||||||
        android:strokeWidth="0.8"
 | 
					 | 
				
			||||||
        android:strokeColor="#33FFFFFF" />
 | 
					 | 
				
			||||||
    <path
 | 
					 | 
				
			||||||
        android:fillColor="#00000000"
 | 
					 | 
				
			||||||
        android:pathData="M19,0L19,108"
 | 
					 | 
				
			||||||
        android:strokeWidth="0.8"
 | 
					 | 
				
			||||||
        android:strokeColor="#33FFFFFF" />
 | 
					 | 
				
			||||||
    <path
 | 
					 | 
				
			||||||
        android:fillColor="#00000000"
 | 
					 | 
				
			||||||
        android:pathData="M29,0L29,108"
 | 
					 | 
				
			||||||
        android:strokeWidth="0.8"
 | 
					 | 
				
			||||||
        android:strokeColor="#33FFFFFF" />
 | 
					 | 
				
			||||||
    <path
 | 
					 | 
				
			||||||
        android:fillColor="#00000000"
 | 
					 | 
				
			||||||
        android:pathData="M39,0L39,108"
 | 
					 | 
				
			||||||
        android:strokeWidth="0.8"
 | 
					 | 
				
			||||||
        android:strokeColor="#33FFFFFF" />
 | 
					 | 
				
			||||||
    <path
 | 
					 | 
				
			||||||
        android:fillColor="#00000000"
 | 
					 | 
				
			||||||
        android:pathData="M49,0L49,108"
 | 
					 | 
				
			||||||
        android:strokeWidth="0.8"
 | 
					 | 
				
			||||||
        android:strokeColor="#33FFFFFF" />
 | 
					 | 
				
			||||||
    <path
 | 
					 | 
				
			||||||
        android:fillColor="#00000000"
 | 
					 | 
				
			||||||
        android:pathData="M59,0L59,108"
 | 
					 | 
				
			||||||
        android:strokeWidth="0.8"
 | 
					 | 
				
			||||||
        android:strokeColor="#33FFFFFF" />
 | 
					 | 
				
			||||||
    <path
 | 
					 | 
				
			||||||
        android:fillColor="#00000000"
 | 
					 | 
				
			||||||
        android:pathData="M69,0L69,108"
 | 
					 | 
				
			||||||
        android:strokeWidth="0.8"
 | 
					 | 
				
			||||||
        android:strokeColor="#33FFFFFF" />
 | 
					 | 
				
			||||||
    <path
 | 
					 | 
				
			||||||
        android:fillColor="#00000000"
 | 
					 | 
				
			||||||
        android:pathData="M79,0L79,108"
 | 
					 | 
				
			||||||
        android:strokeWidth="0.8"
 | 
					 | 
				
			||||||
        android:strokeColor="#33FFFFFF" />
 | 
					 | 
				
			||||||
    <path
 | 
					 | 
				
			||||||
        android:fillColor="#00000000"
 | 
					 | 
				
			||||||
        android:pathData="M89,0L89,108"
 | 
					 | 
				
			||||||
        android:strokeWidth="0.8"
 | 
					 | 
				
			||||||
        android:strokeColor="#33FFFFFF" />
 | 
					 | 
				
			||||||
    <path
 | 
					 | 
				
			||||||
        android:fillColor="#00000000"
 | 
					 | 
				
			||||||
        android:pathData="M99,0L99,108"
 | 
					 | 
				
			||||||
        android:strokeWidth="0.8"
 | 
					 | 
				
			||||||
        android:strokeColor="#33FFFFFF" />
 | 
					 | 
				
			||||||
    <path
 | 
					 | 
				
			||||||
        android:fillColor="#00000000"
 | 
					 | 
				
			||||||
        android:pathData="M0,9L108,9"
 | 
					 | 
				
			||||||
        android:strokeWidth="0.8"
 | 
					 | 
				
			||||||
        android:strokeColor="#33FFFFFF" />
 | 
					 | 
				
			||||||
    <path
 | 
					 | 
				
			||||||
        android:fillColor="#00000000"
 | 
					 | 
				
			||||||
        android:pathData="M0,19L108,19"
 | 
					 | 
				
			||||||
        android:strokeWidth="0.8"
 | 
					 | 
				
			||||||
        android:strokeColor="#33FFFFFF" />
 | 
					 | 
				
			||||||
    <path
 | 
					 | 
				
			||||||
        android:fillColor="#00000000"
 | 
					 | 
				
			||||||
        android:pathData="M0,29L108,29"
 | 
					 | 
				
			||||||
        android:strokeWidth="0.8"
 | 
					 | 
				
			||||||
        android:strokeColor="#33FFFFFF" />
 | 
					 | 
				
			||||||
    <path
 | 
					 | 
				
			||||||
        android:fillColor="#00000000"
 | 
					 | 
				
			||||||
        android:pathData="M0,39L108,39"
 | 
					 | 
				
			||||||
        android:strokeWidth="0.8"
 | 
					 | 
				
			||||||
        android:strokeColor="#33FFFFFF" />
 | 
					 | 
				
			||||||
    <path
 | 
					 | 
				
			||||||
        android:fillColor="#00000000"
 | 
					 | 
				
			||||||
        android:pathData="M0,49L108,49"
 | 
					 | 
				
			||||||
        android:strokeWidth="0.8"
 | 
					 | 
				
			||||||
        android:strokeColor="#33FFFFFF" />
 | 
					 | 
				
			||||||
    <path
 | 
					 | 
				
			||||||
        android:fillColor="#00000000"
 | 
					 | 
				
			||||||
        android:pathData="M0,59L108,59"
 | 
					 | 
				
			||||||
        android:strokeWidth="0.8"
 | 
					 | 
				
			||||||
        android:strokeColor="#33FFFFFF" />
 | 
					 | 
				
			||||||
    <path
 | 
					 | 
				
			||||||
        android:fillColor="#00000000"
 | 
					 | 
				
			||||||
        android:pathData="M0,69L108,69"
 | 
					 | 
				
			||||||
        android:strokeWidth="0.8"
 | 
					 | 
				
			||||||
        android:strokeColor="#33FFFFFF" />
 | 
					 | 
				
			||||||
    <path
 | 
					 | 
				
			||||||
        android:fillColor="#00000000"
 | 
					 | 
				
			||||||
        android:pathData="M0,79L108,79"
 | 
					 | 
				
			||||||
        android:strokeWidth="0.8"
 | 
					 | 
				
			||||||
        android:strokeColor="#33FFFFFF" />
 | 
					 | 
				
			||||||
    <path
 | 
					 | 
				
			||||||
        android:fillColor="#00000000"
 | 
					 | 
				
			||||||
        android:pathData="M0,89L108,89"
 | 
					 | 
				
			||||||
        android:strokeWidth="0.8"
 | 
					 | 
				
			||||||
        android:strokeColor="#33FFFFFF" />
 | 
					 | 
				
			||||||
    <path
 | 
					 | 
				
			||||||
        android:fillColor="#00000000"
 | 
					 | 
				
			||||||
        android:pathData="M0,99L108,99"
 | 
					 | 
				
			||||||
        android:strokeWidth="0.8"
 | 
					 | 
				
			||||||
        android:strokeColor="#33FFFFFF" />
 | 
					 | 
				
			||||||
    <path
 | 
					 | 
				
			||||||
        android:fillColor="#00000000"
 | 
					 | 
				
			||||||
        android:pathData="M19,29L89,29"
 | 
					 | 
				
			||||||
        android:strokeWidth="0.8"
 | 
					 | 
				
			||||||
        android:strokeColor="#33FFFFFF" />
 | 
					 | 
				
			||||||
    <path
 | 
					 | 
				
			||||||
        android:fillColor="#00000000"
 | 
					 | 
				
			||||||
        android:pathData="M19,39L89,39"
 | 
					 | 
				
			||||||
        android:strokeWidth="0.8"
 | 
					 | 
				
			||||||
        android:strokeColor="#33FFFFFF" />
 | 
					 | 
				
			||||||
    <path
 | 
					 | 
				
			||||||
        android:fillColor="#00000000"
 | 
					 | 
				
			||||||
        android:pathData="M19,49L89,49"
 | 
					 | 
				
			||||||
        android:strokeWidth="0.8"
 | 
					 | 
				
			||||||
        android:strokeColor="#33FFFFFF" />
 | 
					 | 
				
			||||||
    <path
 | 
					 | 
				
			||||||
        android:fillColor="#00000000"
 | 
					 | 
				
			||||||
        android:pathData="M19,59L89,59"
 | 
					 | 
				
			||||||
        android:strokeWidth="0.8"
 | 
					 | 
				
			||||||
        android:strokeColor="#33FFFFFF" />
 | 
					 | 
				
			||||||
    <path
 | 
					 | 
				
			||||||
        android:fillColor="#00000000"
 | 
					 | 
				
			||||||
        android:pathData="M19,69L89,69"
 | 
					 | 
				
			||||||
        android:strokeWidth="0.8"
 | 
					 | 
				
			||||||
        android:strokeColor="#33FFFFFF" />
 | 
					 | 
				
			||||||
    <path
 | 
					 | 
				
			||||||
        android:fillColor="#00000000"
 | 
					 | 
				
			||||||
        android:pathData="M19,79L89,79"
 | 
					 | 
				
			||||||
        android:strokeWidth="0.8"
 | 
					 | 
				
			||||||
        android:strokeColor="#33FFFFFF" />
 | 
					 | 
				
			||||||
    <path
 | 
					 | 
				
			||||||
        android:fillColor="#00000000"
 | 
					 | 
				
			||||||
        android:pathData="M29,19L29,89"
 | 
					 | 
				
			||||||
        android:strokeWidth="0.8"
 | 
					 | 
				
			||||||
        android:strokeColor="#33FFFFFF" />
 | 
					 | 
				
			||||||
    <path
 | 
					 | 
				
			||||||
        android:fillColor="#00000000"
 | 
					 | 
				
			||||||
        android:pathData="M39,19L39,89"
 | 
					 | 
				
			||||||
        android:strokeWidth="0.8"
 | 
					 | 
				
			||||||
        android:strokeColor="#33FFFFFF" />
 | 
					 | 
				
			||||||
    <path
 | 
					 | 
				
			||||||
        android:fillColor="#00000000"
 | 
					 | 
				
			||||||
        android:pathData="M49,19L49,89"
 | 
					 | 
				
			||||||
        android:strokeWidth="0.8"
 | 
					 | 
				
			||||||
        android:strokeColor="#33FFFFFF" />
 | 
					 | 
				
			||||||
    <path
 | 
					 | 
				
			||||||
        android:fillColor="#00000000"
 | 
					 | 
				
			||||||
        android:pathData="M59,19L59,89"
 | 
					 | 
				
			||||||
        android:strokeWidth="0.8"
 | 
					 | 
				
			||||||
        android:strokeColor="#33FFFFFF" />
 | 
					 | 
				
			||||||
    <path
 | 
					 | 
				
			||||||
        android:fillColor="#00000000"
 | 
					 | 
				
			||||||
        android:pathData="M69,19L69,89"
 | 
					 | 
				
			||||||
        android:strokeWidth="0.8"
 | 
					 | 
				
			||||||
        android:strokeColor="#33FFFFFF" />
 | 
					 | 
				
			||||||
    <path
 | 
					 | 
				
			||||||
        android:fillColor="#00000000"
 | 
					 | 
				
			||||||
        android:pathData="M79,19L79,89"
 | 
					 | 
				
			||||||
        android:strokeWidth="0.8"
 | 
					 | 
				
			||||||
        android:strokeColor="#33FFFFFF" />
 | 
					 | 
				
			||||||
</vector>
 | 
					 | 
				
			||||||
@@ -1,10 +0,0 @@
 | 
				
			|||||||
<?xml version="1.0" encoding="utf-8"?>
 | 
					 | 
				
			||||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
 | 
					 | 
				
			||||||
    android:width="24dp"
 | 
					 | 
				
			||||||
    android:height="24dp"
 | 
					 | 
				
			||||||
    android:viewportHeight="24"
 | 
					 | 
				
			||||||
    android:viewportWidth="24">
 | 
					 | 
				
			||||||
    <path
 | 
					 | 
				
			||||||
        android:fillColor="#FFFFFFFF"
 | 
					 | 
				
			||||||
        android:pathData="M16.61,15.15C16.15,15.15 15.77,14.78 15.77,14.32S16.15,13.5 16.61,13.5H16.61C17.07,13.5 17.45,13.86 17.45,14.32C17.45,14.78 17.07,15.15 16.61,15.15M7.41,15.15C6.95,15.15 6.57,14.78 6.57,14.32C6.57,13.86 6.95,13.5 7.41,13.5H7.41C7.87,13.5 8.24,13.86 8.24,14.32C8.24,14.78 7.87,15.15 7.41,15.15M16.91,10.14L18.58,7.26C18.67,7.09 18.61,6.88 18.45,6.79C18.28,6.69 18.07,6.75 18,6.92L16.29,9.83C14.95,9.22 13.5,8.9 12,8.91C10.47,8.91 9,9.24 7.73,9.82L6.04,6.91C5.95,6.74 5.74,6.68 5.57,6.78C5.4,6.87 5.35,7.08 5.44,7.25L7.1,10.13C4.25,11.69 2.29,14.58 2,18H22C21.72,14.59 19.77,11.7 16.91,10.14H16.91Z"/>
 | 
					 | 
				
			||||||
</vector>
 | 
					 | 
				
			||||||
@@ -1,10 +0,0 @@
 | 
				
			|||||||
<?xml version="1.0" encoding="utf-8"?>
 | 
					 | 
				
			||||||
<shape xmlns:android="http://schemas.android.com/apk/res/android">
 | 
					 | 
				
			||||||
    <gradient
 | 
					 | 
				
			||||||
        android:angle="180"
 | 
					 | 
				
			||||||
        android:endColor="#FFFFFFFF"
 | 
					 | 
				
			||||||
        android:startColor="#FFFFFFFF"
 | 
					 | 
				
			||||||
        android:type="linear" />
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    <corners android:radius="10dp" />
 | 
					 | 
				
			||||||
</shape>
 | 
					 | 
				
			||||||
@@ -1,21 +0,0 @@
 | 
				
			|||||||
<?xml version="1.0" encoding="utf-8"?>
 | 
					 | 
				
			||||||
<LinearLayout
 | 
					 | 
				
			||||||
    xmlns:android="http://schemas.android.com/apk/res/android"
 | 
					 | 
				
			||||||
    xmlns:app="http://schemas.android.com/apk/res-auto"
 | 
					 | 
				
			||||||
    android:orientation="vertical"
 | 
					 | 
				
			||||||
    android:layout_width="match_parent"
 | 
					 | 
				
			||||||
    android:layout_height="match_parent">
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    <cc.winboll.studio.libaes.views.ASupportToolbar
 | 
					 | 
				
			||||||
        android:layout_width="match_parent"
 | 
					 | 
				
			||||||
        android:layout_height="wrap_content"
 | 
					 | 
				
			||||||
        android:id="@+id/toolbar"/>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    <LinearLayout
 | 
					 | 
				
			||||||
        android:orientation="vertical"
 | 
					 | 
				
			||||||
        android:layout_width="match_parent"
 | 
					 | 
				
			||||||
        android:layout_height="0dp"
 | 
					 | 
				
			||||||
        android:layout_weight="1.0"
 | 
					 | 
				
			||||||
        android:id="@+id/aboutviewroot_ll"/>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
</LinearLayout>
 | 
					 | 
				
			||||||
@@ -1,29 +0,0 @@
 | 
				
			|||||||
<?xml version="1.0" encoding="utf-8"?>
 | 
					 | 
				
			||||||
<LinearLayout
 | 
					 | 
				
			||||||
	xmlns:android="http://schemas.android.com/apk/res/android"
 | 
					 | 
				
			||||||
	android:orientation="vertical"
 | 
					 | 
				
			||||||
	android:layout_width="match_parent"
 | 
					 | 
				
			||||||
	android:layout_height="match_parent">
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    <cc.winboll.studio.libaes.views.ASupportToolbar
 | 
					 | 
				
			||||||
        android:layout_width="match_parent"
 | 
					 | 
				
			||||||
        android:layout_height="wrap_content"
 | 
					 | 
				
			||||||
        android:id="@+id/toolbar"/>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
	<LinearLayout
 | 
					 | 
				
			||||||
		xmlns:app="http://schemas.android.com/apk/res-auto"
 | 
					 | 
				
			||||||
		android:orientation="vertical"
 | 
					 | 
				
			||||||
		android:layout_width="match_parent"
 | 
					 | 
				
			||||||
		android:layout_height="0dp"
 | 
					 | 
				
			||||||
		android:gravity="center"
 | 
					 | 
				
			||||||
		android:layout_weight="1.0">
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
		<TextView
 | 
					 | 
				
			||||||
			android:layout_width="wrap_content"
 | 
					 | 
				
			||||||
			android:layout_height="wrap_content"
 | 
					 | 
				
			||||||
			android:text="Hello, WinBoll!"/>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
	</LinearLayout>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
</LinearLayout>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
@@ -1,32 +0,0 @@
 | 
				
			|||||||
<?xml version="1.0" encoding="utf-8"?>
 | 
					 | 
				
			||||||
<LinearLayout
 | 
					 | 
				
			||||||
    xmlns:android="http://schemas.android.com/apk/res/android"
 | 
					 | 
				
			||||||
    xmlns:app="http://schemas.android.com/apk/res-auto"
 | 
					 | 
				
			||||||
    android:layout_width="wrap_content"
 | 
					 | 
				
			||||||
    android:layout_height="wrap_content"
 | 
					 | 
				
			||||||
    android:background="@drawable/shape_gradient"
 | 
					 | 
				
			||||||
    android:gravity="center"
 | 
					 | 
				
			||||||
    android:orientation="vertical"
 | 
					 | 
				
			||||||
    android:padding="10dp">
 | 
					 | 
				
			||||||
    
 | 
					 | 
				
			||||||
    <LinearLayout
 | 
					 | 
				
			||||||
        android:orientation="horizontal"
 | 
					 | 
				
			||||||
        android:layout_width="wrap_content"
 | 
					 | 
				
			||||||
        android:layout_height="wrap_content">
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
        <ImageView
 | 
					 | 
				
			||||||
            android:layout_width="40dp"
 | 
					 | 
				
			||||||
            android:layout_height="40dp"
 | 
					 | 
				
			||||||
            android:src="@drawable/ic_launcher"/>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
        <TextView
 | 
					 | 
				
			||||||
            android:id="@android:id/message"
 | 
					 | 
				
			||||||
            android:layout_width="wrap_content"
 | 
					 | 
				
			||||||
            android:layout_height="wrap_content"
 | 
					 | 
				
			||||||
            android:layout_margin="10dp"
 | 
					 | 
				
			||||||
            android:textColor="#FF000000"
 | 
					 | 
				
			||||||
            android:textSize="16sp"/>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    </LinearLayout>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
</LinearLayout>
 | 
					 | 
				
			||||||
@@ -1,10 +0,0 @@
 | 
				
			|||||||
<?xml version="1.0" encoding="utf-8"?>
 | 
					 | 
				
			||||||
<menu xmlns:android="http://schemas.android.com/apk/res/android"
 | 
					 | 
				
			||||||
	xmlns:app="http://schemas.android.com/apk/res-auto">
 | 
					 | 
				
			||||||
    <item
 | 
					 | 
				
			||||||
        android:id="@+id/item_log"
 | 
					 | 
				
			||||||
        android:title="Log"/>
 | 
					 | 
				
			||||||
    <item
 | 
					 | 
				
			||||||
        android:id="@+id/item_about"
 | 
					 | 
				
			||||||
        android:title="About"/>
 | 
					 | 
				
			||||||
</menu>
 | 
					 | 
				
			||||||
@@ -1,10 +0,0 @@
 | 
				
			|||||||
<?xml version="1.0" encoding="utf-8"?>
 | 
					 | 
				
			||||||
<resources>
 | 
					 | 
				
			||||||
    <!-- WinBoll 默认方案 -->
 | 
					 | 
				
			||||||
    <color name="colorPrimary">#FF196ABC</color>
 | 
					 | 
				
			||||||
    <color name="colorPrimaryDark">#FF002B57</color>
 | 
					 | 
				
			||||||
    <color name="colorAccent">#FF80BFFF</color>
 | 
					 | 
				
			||||||
    <color name="colorToastFrame">#FFA9A9A9</color>
 | 
					 | 
				
			||||||
    <color name="colorToastShadow">#FF000000</color>
 | 
					 | 
				
			||||||
    <color name="colorToastBackgroung">#FFFFFFFF</color>
 | 
					 | 
				
			||||||
</resources>
 | 
					 | 
				
			||||||
@@ -1,6 +0,0 @@
 | 
				
			|||||||
<?xml version="1.0" encoding="utf-8"?>
 | 
					 | 
				
			||||||
<resources>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    <string name="app_name">APP</string>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
</resources>
 | 
					 | 
				
			||||||
@@ -1,3 +0,0 @@
 | 
				
			|||||||
<?xml version="1.0" encoding="utf-8"?>
 | 
					 | 
				
			||||||
<resources>
 | 
					 | 
				
			||||||
</resources>
 | 
					 | 
				
			||||||
@@ -1,25 +0,0 @@
 | 
				
			|||||||
<?xml version="1.0" encoding="utf-8"?>
 | 
					 | 
				
			||||||
<paths>
 | 
					 | 
				
			||||||
    <external-path
 | 
					 | 
				
			||||||
        name="external_storage_root"
 | 
					 | 
				
			||||||
        path="." />
 | 
					 | 
				
			||||||
    <files-path
 | 
					 | 
				
			||||||
        name="files_path"
 | 
					 | 
				
			||||||
        path="." />
 | 
					 | 
				
			||||||
    <cache-path
 | 
					 | 
				
			||||||
        name="cache_path"
 | 
					 | 
				
			||||||
        path="." />
 | 
					 | 
				
			||||||
    <!--/storage/emulated/0/Android/data/...-->
 | 
					 | 
				
			||||||
    <external-files-path
 | 
					 | 
				
			||||||
        name="external_file_path"
 | 
					 | 
				
			||||||
        path="." />
 | 
					 | 
				
			||||||
    <!--代表app 外部存储区域根目录下的文件 Context.getExternalCacheDir目录下的目录-->
 | 
					 | 
				
			||||||
    <external-cache-path
 | 
					 | 
				
			||||||
        name="external_cache_path"
 | 
					 | 
				
			||||||
        path="." />
 | 
					 | 
				
			||||||
    <!--配置root-path。这样子可以读取到sd卡和一些应用分身的目录,否则微信分身保存的图片,就会导致 java.lang.IllegalArgumentException: Failed to find configured root that contains /storage/emulated/999/tencent/MicroMsg/WeiXin/export1544062754693.jpg,在小米6的手机上微信分身有这个crash,华为没有
 | 
					 | 
				
			||||||
    -->
 | 
					 | 
				
			||||||
    <root-path
 | 
					 | 
				
			||||||
        name="root_path"
 | 
					 | 
				
			||||||
        path="" />
 | 
					 | 
				
			||||||
</paths>
 | 
					 | 
				
			||||||
@@ -1,12 +0,0 @@
 | 
				
			|||||||
<?xml version="1.0" encoding="utf-8"?>
 | 
					 | 
				
			||||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
 | 
					 | 
				
			||||||
    xmlns:tools="http://schemas.android.com/tools" >
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    <application>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
        <!-- Put flavor specific code here -->
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    </application>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
</manifest>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
@@ -1,6 +0,0 @@
 | 
				
			|||||||
<?xml version="1.0" encoding="utf-8"?>
 | 
					 | 
				
			||||||
<resources>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    <!-- Put flavor specific strings here -->
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
</resources>
 | 
					 | 
				
			||||||
@@ -1,7 +1,3 @@
 | 
				
			|||||||
// APP 项目编译设置
 | 
					 | 
				
			||||||
//include ':app'
 | 
					 | 
				
			||||||
//rootProject.name = "app"
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
// AutoInstaller 项目编译设置
 | 
					// AutoInstaller 项目编译设置
 | 
				
			||||||
//include ':autoinstaller'
 | 
					//include ':autoinstaller'
 | 
				
			||||||
//rootProject.name = "autoinstaller"
 | 
					//rootProject.name = "autoinstaller"
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user