Compare commits
5 Commits
aes-v15.5.
...
appbase-v1
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f8bb5a7852 | ||
|
|
2be7e2cbaf | ||
|
|
24f598294e | ||
|
|
b5e918b364 | ||
|
|
50561a2f67 |
@@ -29,7 +29,7 @@ android {
|
||||
// versionName 更新后需要手动设置
|
||||
// 项目模块目录的 build.gradle 文件的 stageCount=0
|
||||
// Gradle编译环境下合起来的 versionName 就是 "${versionName}.0"
|
||||
versionName "15.5"
|
||||
versionName "15.2"
|
||||
if(true) {
|
||||
versionName = genVersionName("${versionName}")
|
||||
}
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
#Created by .winboll/winboll_app_build.gradle
|
||||
#Mon Apr 28 16:21:02 GMT 2025
|
||||
stageCount=0
|
||||
#Thu Apr 03 11:14:05 HKT 2025
|
||||
stageCount=7
|
||||
libraryProject=libaes
|
||||
baseVersion=15.5
|
||||
publishVersion=15.5.0
|
||||
buildCount=1
|
||||
baseBetaVersion=15.5.1
|
||||
baseVersion=15.2
|
||||
publishVersion=15.2.6
|
||||
buildCount=0
|
||||
baseBetaVersion=15.2.7
|
||||
|
||||
@@ -8,7 +8,6 @@ package cc.winboll.studio.aes;
|
||||
import android.view.Gravity;
|
||||
import cc.winboll.studio.libappbase.GlobalApplication;
|
||||
import com.hjq.toast.ToastUtils;
|
||||
import com.hjq.toast.style.WhiteToastStyle;
|
||||
|
||||
|
||||
public class App extends GlobalApplication {
|
||||
@@ -22,8 +21,8 @@ public class App extends GlobalApplication {
|
||||
// 初始化 Toast 框架
|
||||
ToastUtils.init(this);
|
||||
// 设置 Toast 布局样式
|
||||
//ToastUtils.setView(R.layout.view_toast);
|
||||
ToastUtils.setStyle(new WhiteToastStyle());
|
||||
ToastUtils.setView(R.layout.view_toast);
|
||||
//ToastUtils.setStyle(new WhiteToastStyle());
|
||||
ToastUtils.setGravity(Gravity.BOTTOM, 0, 200);
|
||||
|
||||
}
|
||||
|
||||
@@ -25,7 +25,7 @@ android {
|
||||
defaultConfig {
|
||||
applicationId "cc.winboll.studio.appbase"
|
||||
minSdkVersion 24
|
||||
targetSdkVersion 29
|
||||
targetSdkVersion 30
|
||||
versionCode 1
|
||||
// versionName 更新后需要手动设置
|
||||
// .winboll/winbollBuildProps.properties 文件的 stageCount=0
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
#Created by .winboll/winboll_app_build.gradle
|
||||
#Mon Apr 28 21:17:52 HKT 2025
|
||||
stageCount=4
|
||||
#Tue Apr 29 13:14:59 HKT 2025
|
||||
stageCount=5
|
||||
libraryProject=libappbase
|
||||
baseVersion=15.7
|
||||
publishVersion=15.7.3
|
||||
publishVersion=15.7.4
|
||||
buildCount=0
|
||||
baseBetaVersion=15.7.4
|
||||
baseBetaVersion=15.7.5
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
|
||||
<application
|
||||
android:name=".App"
|
||||
android:icon="@drawable/ic_launcher"
|
||||
android:icon="@drawable/ic_miapp"
|
||||
android:label="@string/app_name"
|
||||
android:theme="@style/MyAPPBaseTheme"
|
||||
android:resizeableActivity="true"
|
||||
|
||||
@@ -45,12 +45,12 @@ dependencies {
|
||||
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 '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:libapputils:15.3.1'
|
||||
api 'cc.winboll.studio:libappbase:15.4.8'
|
||||
api 'cc.winboll.studio:libapputils:15.2.2'
|
||||
api 'cc.winboll.studio:libappbase:15.2.2'
|
||||
}
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
#Created by .winboll/winboll_app_build.gradle
|
||||
#Mon Apr 28 16:21:02 GMT 2025
|
||||
stageCount=0
|
||||
#Thu Apr 03 11:13:53 HKT 2025
|
||||
stageCount=7
|
||||
libraryProject=libaes
|
||||
baseVersion=15.5
|
||||
publishVersion=15.5.0
|
||||
buildCount=1
|
||||
baseBetaVersion=15.5.1
|
||||
baseVersion=15.2
|
||||
publishVersion=15.2.6
|
||||
buildCount=0
|
||||
baseBetaVersion=15.2.7
|
||||
|
||||
@@ -5,7 +5,6 @@ package cc.winboll.studio.libaes.winboll;
|
||||
* @Date 2025/03/28 17:41:55
|
||||
* @Describe WinBoll 服务主机连接状态视图
|
||||
*/
|
||||
import cc.winboll.studio.libaes.R;
|
||||
import android.content.ComponentName;
|
||||
import android.content.Context;
|
||||
import android.content.Intent;
|
||||
@@ -22,6 +21,7 @@ import android.widget.TextView;
|
||||
import cc.winboll.studio.libaes.winboll.WinBollClientService;
|
||||
import cc.winboll.studio.libappbase.GlobalApplication;
|
||||
import cc.winboll.studio.libappbase.LogUtils;
|
||||
import cc.winboll.studio.libapputils.R;
|
||||
import cc.winboll.studio.libapputils.utils.PrefUtils;
|
||||
import java.time.LocalDateTime;
|
||||
import java.time.format.DateTimeFormatter;
|
||||
|
||||
38
libaes/src/main/res/layout/view_toast.xml
Normal file
38
libaes/src/main/res/layout/view_toast.xml
Normal file
@@ -0,0 +1,38 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
android:gravity="center_horizontal"
|
||||
android:background="@drawable/toast_frame"
|
||||
android:padding="10dp">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/app_name"
|
||||
android:textStyle="bold"
|
||||
android:textColor="#FFFFFFFF"/>
|
||||
|
||||
<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="#FFFFFFFF"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
@@ -10,7 +10,7 @@ android {
|
||||
|
||||
defaultConfig {
|
||||
minSdkVersion 24
|
||||
targetSdkVersion 29
|
||||
targetSdkVersion 30
|
||||
}
|
||||
buildTypes {
|
||||
release {
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
#Created by .winboll/winboll_app_build.gradle
|
||||
#Mon Apr 28 21:17:52 HKT 2025
|
||||
stageCount=4
|
||||
#Tue Apr 29 13:14:59 HKT 2025
|
||||
stageCount=5
|
||||
libraryProject=libappbase
|
||||
baseVersion=15.7
|
||||
publishVersion=15.7.3
|
||||
publishVersion=15.7.4
|
||||
buildCount=0
|
||||
baseBetaVersion=15.7.4
|
||||
baseBetaVersion=15.7.5
|
||||
|
||||
BIN
libappbase/src/main/res/drawable/ic_miapp.png
Normal file
BIN
libappbase/src/main/res/drawable/ic_miapp.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 21 KiB |
Reference in New Issue
Block a user