1225
This commit is contained in:
		| @@ -1,8 +1,8 @@ | ||||
| #Created by .winboll/winboll_app_build.gradle | ||||
| #Sat Mar 29 02:15:42 GMT 2025 | ||||
| #Sat Mar 29 04:24:24 GMT 2025 | ||||
| stageCount=0 | ||||
| libraryProject= | ||||
| baseVersion=15.2 | ||||
| publishVersion=15.2.0 | ||||
| buildCount=0 | ||||
| buildCount=15 | ||||
| baseBetaVersion=15.2.1 | ||||
|   | ||||
| @@ -7,7 +7,6 @@ package cc.winboll.studio.mymessagemanager; | ||||
|  */ | ||||
| import android.view.Gravity; | ||||
| import cc.winboll.studio.libappbase.GlobalApplication; | ||||
| import cc.winboll.studio.libappbase.LogUtils; | ||||
| import cc.winboll.studio.mymessagemanager.R; | ||||
| import com.hjq.toast.ToastUtils; | ||||
| import java.io.File; | ||||
| @@ -30,7 +29,7 @@ public class App extends GlobalApplication { | ||||
|     @Override | ||||
|     public void onCreate() { | ||||
|         super.onCreate(); | ||||
|         //setIsDebug(cc.winboll.studio.mymessagemanager.BuildConfig.DEBUG); | ||||
|         //setIsDebuging(BuildConfig.DEBUG); | ||||
|  | ||||
|         // 初始化 Toast 框架 | ||||
|         ToastUtils.init(this); | ||||
| @@ -45,8 +44,4 @@ public class App extends GlobalApplication { | ||||
|         _mszConfigUtilPath = _mszAppExternalFilesDir + File.separator + _mszConfigUtilFileName; | ||||
|         _mszSMSReceiveRuleUtilPath = _mszAppExternalFilesDir + File.separator + _mszSMSReceiveRuleUtilFileName; | ||||
|     } | ||||
|  | ||||
|     public static void showApplicationMessage(String szMessage) { | ||||
|         LogUtils.i(TAG, szMessage); | ||||
|     } | ||||
| } | ||||
|   | ||||
| @@ -39,22 +39,18 @@ public class AboutActivity extends BaseActivity implements IWinBollActivity { | ||||
|     protected void onCreate(Bundle savedInstanceState) { | ||||
|         super.onCreate(savedInstanceState); | ||||
|         setTheme(AESThemeUtil.getThemeTypeID(getApplicationContext())); | ||||
|         //setContentView(R.layout.activity_about); | ||||
|         mContext = this; | ||||
|          | ||||
|         LinearLayout layout = findViewById(R.id.aboutmain_ll); | ||||
|  | ||||
|         AboutView aboutView = CreateAboutView(); | ||||
|         layout.addView(aboutView); | ||||
|         // 在 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 = new LinearLayout(this); | ||||
|         layout.setOrientation(LinearLayout.VERTICAL); | ||||
|         // 创建布局参数(宽度和高度) | ||||
|         ViewGroup.LayoutParams params = new ViewGroup.LayoutParams( | ||||
|             ViewGroup.LayoutParams.MATCH_PARENT, | ||||
|             ViewGroup.LayoutParams.MATCH_PARENT | ||||
|         ); | ||||
|         addContentView(aboutView, params); | ||||
|  | ||||
|         GlobalApplication.getWinBollActivityManager().add(this); | ||||
|     } | ||||
|   | ||||
| @@ -49,7 +49,7 @@ public class SMSRecevier extends BroadcastReceiver { | ||||
|                     NotificationUtil nu = new NotificationUtil(); | ||||
|                     nu.sendSMSReceivedMessage(context, nResultId, szSmsAddress, szSmsBody); | ||||
|                     LocalBroadcastManager.getInstance(context).sendBroadcast(new Intent(SMSActivity.ACTION_NOTIFY_SMS_CHANGED)); | ||||
|                     App.showApplicationMessage("<" + szSmsAddress + "> : ( " + szSmsBody + " ) [SAVED]"); | ||||
|                     LogUtils.d(TAG, "<" + szSmsAddress + "> : ( " + szSmsBody + " ) [SAVED]"); | ||||
|                     if (isEnableTTS) { | ||||
|                         if (isEnableTTSAnalyzeMode) { | ||||
|                             TTSPlayRuleUtil ttsPlayRuleUtil = TTSPlayRuleUtil.getInstance(context); | ||||
|   | ||||
| @@ -1,22 +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="@dimen/toolbar_height" | ||||
| 		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/aboutmain_ll"/> | ||||
|  | ||||
| </LinearLayout> | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 ZhanGSKen
					ZhanGSKen