应用菜单排列调整
This commit is contained in:
		| @@ -1,8 +1,8 @@ | ||||
| #Created by .winboll/winboll_app_build.gradle | ||||
| #Tue May 20 20:39:06 HKT 2025 | ||||
| #Thu Jul 03 04:37:09 GMT 2025 | ||||
| stageCount=6 | ||||
| libraryProject= | ||||
| baseVersion=15.2 | ||||
| publishVersion=15.2.5 | ||||
| buildCount=0 | ||||
| buildCount=2 | ||||
| baseBetaVersion=15.2.6 | ||||
|   | ||||
| @@ -128,7 +128,7 @@ public class MainActivity extends BaseActivity { | ||||
|         mToolbar = findViewById(R.id.activitymainASupportToolbar1); | ||||
|         mToolbar.setSubtitle(getString(R.string.activity_name_main)); | ||||
|         setSupportActionBar(mToolbar); | ||||
|          | ||||
|  | ||||
|         boolean isEnableService = mAppConfigUtil.mAppConfigBean.isEnableService(); | ||||
|         msvEnableService = findViewById(R.id.activitymainSwitchView1); | ||||
|         msvEnableService.setChecked(isEnableService); | ||||
| @@ -269,17 +269,9 @@ public class MainActivity extends BaseActivity { | ||||
|     public boolean onCreateOptionsMenu(Menu menu) { | ||||
|         //return super.onCreateOptionsMenu(menu); | ||||
|         getMenuInflater().inflate(R.menu.toolbar_main, menu); | ||||
|  | ||||
|         /*ThemeUtil.BaseTheme baseTheme = ThemeUtil.getTheme(mAppConfigUtil.mAppConfigBean.getAppThemeID()); | ||||
|         if (baseTheme == ThemeUtil.BaseTheme.DEFAULT) { | ||||
|             menu.findItem(R.id.app_defaulttheme).setChecked(true); | ||||
|         } else if (baseTheme == ThemeUtil.BaseTheme.SKY) { | ||||
|             menu.findItem(R.id.app_skytheme).setChecked(true); | ||||
|         } else if (baseTheme == ThemeUtil.BaseTheme.GOLDEN) { | ||||
|             menu.findItem(R.id.app_goldentheme).setChecked(true); | ||||
|         }*/ | ||||
|  | ||||
|         return super.onCreateOptionsMenu(menu); | ||||
|         super.onCreateOptionsMenu(menu); | ||||
| 		getMenuInflater().inflate(R.menu.toolbar_main2, menu); | ||||
| 		return true; | ||||
|     } | ||||
|  | ||||
|     public static void reloadSMS() { | ||||
| @@ -324,7 +316,7 @@ public class MainActivity extends BaseActivity { | ||||
|             i.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); | ||||
|             startActivity(i); | ||||
|         } | ||||
|          | ||||
|  | ||||
|         return super.onOptionsItemSelected(item); | ||||
|     } | ||||
|  | ||||
|   | ||||
| @@ -17,26 +17,4 @@ | ||||
|     <item | ||||
|         android:id="@+id/app_smsrule" | ||||
|         android:title="@string/text_smsrule"/> | ||||
|     <item android:title="@string/app_developoptions"> | ||||
|         <menu> | ||||
|             <item | ||||
|                 android:id="@+id/app_log" | ||||
|                 android:title="@string/app_log"/> | ||||
|             <item | ||||
|                 android:id="@+id/app_unittest" | ||||
|                 android:title="@string/app_unittest"/> | ||||
|             <item | ||||
|                 android:id="@+id/app_crashtest" | ||||
|                 android:title="@string/app_crashtest"/> | ||||
|         </menu> | ||||
|     </item> | ||||
|     <item | ||||
|         android:id="@+id/app_appsettings" | ||||
|         android:title="@string/text_appsettings"/> | ||||
|     <item | ||||
|         android:id="@+id/app_about" | ||||
|         android:title="@string/app_about"/> | ||||
|     <item | ||||
|         android:id="@+id/app_smsrecycle" | ||||
|         android:title="@string/app_smsrecycle"/> | ||||
| </menu> | ||||
|   | ||||
							
								
								
									
										26
									
								
								mymessagemanager/src/main/res/menu/toolbar_main2.xml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										26
									
								
								mymessagemanager/src/main/res/menu/toolbar_main2.xml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,26 @@ | ||||
| <?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:title="@string/app_developoptions"> | ||||
|         <menu> | ||||
|             <item | ||||
|                 android:id="@+id/app_log" | ||||
|                 android:title="@string/app_log"/> | ||||
|             <item | ||||
|                 android:id="@+id/app_unittest" | ||||
|                 android:title="@string/app_unittest"/> | ||||
|             <item | ||||
|                 android:id="@+id/app_crashtest" | ||||
|                 android:title="@string/app_crashtest"/> | ||||
|         </menu> | ||||
|     </item> | ||||
|     <item | ||||
|         android:id="@+id/app_appsettings" | ||||
|         android:title="@string/text_appsettings"/> | ||||
|     <item | ||||
|         android:id="@+id/app_about" | ||||
|         android:title="@string/app_about"/> | ||||
|     <item | ||||
|         android:id="@+id/app_smsrecycle" | ||||
|         android:title="@string/app_smsrecycle"/> | ||||
| </menu> | ||||
		Reference in New Issue
	
	Block a user
	 ZhanGSKen
					ZhanGSKen