更新类库
This commit is contained in:
		@@ -1,8 +1,8 @@
 | 
			
		||||
#Created by .winboll/winboll_app_build.gradle
 | 
			
		||||
#Thu Apr 03 11:14:05 HKT 2025
 | 
			
		||||
#Sun Apr 27 05:47:09 GMT 2025
 | 
			
		||||
stageCount=7
 | 
			
		||||
libraryProject=libaes
 | 
			
		||||
baseVersion=15.2
 | 
			
		||||
publishVersion=15.2.6
 | 
			
		||||
buildCount=0
 | 
			
		||||
buildCount=1
 | 
			
		||||
baseBetaVersion=15.2.7
 | 
			
		||||
 
 | 
			
		||||
@@ -8,6 +8,7 @@ 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 {
 | 
			
		||||
@@ -21,8 +22,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);
 | 
			
		||||
 | 
			
		||||
    }
 | 
			
		||||
 
 | 
			
		||||
@@ -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.2.2'
 | 
			
		||||
    api 'cc.winboll.studio:libappbase:15.2.2'
 | 
			
		||||
    api 'cc.winboll.studio:libapputils:15.3.1'
 | 
			
		||||
    api 'cc.winboll.studio:libappbase:15.4.8'
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
@@ -1,8 +1,8 @@
 | 
			
		||||
#Created by .winboll/winboll_app_build.gradle
 | 
			
		||||
#Thu Apr 03 11:13:53 HKT 2025
 | 
			
		||||
#Sun Apr 27 05:47:09 GMT 2025
 | 
			
		||||
stageCount=7
 | 
			
		||||
libraryProject=libaes
 | 
			
		||||
baseVersion=15.2
 | 
			
		||||
publishVersion=15.2.6
 | 
			
		||||
buildCount=0
 | 
			
		||||
buildCount=1
 | 
			
		||||
baseBetaVersion=15.2.7
 | 
			
		||||
 
 | 
			
		||||
@@ -5,6 +5,7 @@ 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;
 | 
			
		||||
@@ -21,7 +22,6 @@ 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;
 | 
			
		||||
 
 | 
			
		||||
@@ -1,38 +0,0 @@
 | 
			
		||||
<?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>
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user