更新应用图标,优化状态栏UI。
This commit is contained in:
		@@ -1,8 +1,8 @@
 | 
			
		||||
#Created by .winboll/winboll_app_build.gradle
 | 
			
		||||
#Tue May 06 18:33:59 HKT 2025
 | 
			
		||||
#Tue May 06 12:35:36 GMT 2025
 | 
			
		||||
stageCount=6
 | 
			
		||||
libraryProject=
 | 
			
		||||
baseVersion=15.0
 | 
			
		||||
publishVersion=15.0.5
 | 
			
		||||
buildCount=0
 | 
			
		||||
buildCount=9
 | 
			
		||||
baseBetaVersion=15.0.6
 | 
			
		||||
 
 | 
			
		||||
@@ -14,8 +14,8 @@
 | 
			
		||||
 | 
			
		||||
    <application
 | 
			
		||||
        android:allowBackup="true"
 | 
			
		||||
        android:icon="@mipmap/ic_launcher"
 | 
			
		||||
        android:roundIcon="@mipmap/ic_launcher_round"
 | 
			
		||||
        android:icon="@drawable/ic_launcher"
 | 
			
		||||
        android:roundIcon="@drawable/ic_launcher"
 | 
			
		||||
        android:label="@string/app_name"
 | 
			
		||||
        android:theme="@style/MyAppTheme"
 | 
			
		||||
        android:resizeableActivity="true"
 | 
			
		||||
 
 | 
			
		||||
@@ -219,7 +219,7 @@ public class MainService extends Service {
 | 
			
		||||
                        String szTimeStampFormatString = AppConfigsUtil.getInstance(MainService.this).getAppConfigsModel().getTimeStampFormatString();
 | 
			
		||||
                        DateTimeFormatter formatter = DateTimeFormatter.ofPattern(szTimeStampFormatString);
 | 
			
		||||
                        String formattedDateTime = ldt.format(formatter);
 | 
			
		||||
                        TimeStampRemoteViewsUtil.getInstance(MainService.this).showNotification(formattedDateTime + " 已复制");
 | 
			
		||||
                        TimeStampRemoteViewsUtil.getInstance(MainService.this).showNotification("时间戳:\n" + formattedDateTime + "\n已拷贝到剪贴板。");
 | 
			
		||||
 | 
			
		||||
                        LogUtils.d(TAG, "Hello, World! " + formattedDateTime);
 | 
			
		||||
                        break;
 | 
			
		||||
 
 | 
			
		||||
@@ -39,7 +39,7 @@ public class ButtonClickReceiver extends BroadcastReceiver {
 | 
			
		||||
            ClipboardUtil.copyTextToClipboard(context, formattedDateTime);
 | 
			
		||||
 | 
			
		||||
            // 比如显示一个Toast
 | 
			
		||||
            Toast.makeText(context, formattedDateTime + " 已复制", Toast.LENGTH_SHORT).show();
 | 
			
		||||
            Toast.makeText(context, "时间戳:\n" + formattedDateTime + "\n已拷贝到剪贴板。", Toast.LENGTH_SHORT).show();
 | 
			
		||||
            MainService.updateCopiedTimeStamp();
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										
											BIN
										
									
								
								timestamp/src/main/res/drawable/ic_launcher.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								timestamp/src/main/res/drawable/ic_launcher.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| 
		 After Width: | Height: | Size: 10 KiB  | 
@@ -17,10 +17,10 @@
 | 
			
		||||
		android:layout_weight="1.0"/>
 | 
			
		||||
 | 
			
		||||
	<Button
 | 
			
		||||
		android:layout_width="wrap_content"
 | 
			
		||||
		android:layout_height="wrap_content"
 | 
			
		||||
		android:text="复制时间戳"
 | 
			
		||||
		android:id="@+id/btn_copytimestamp"/>
 | 
			
		||||
		android:layout_width="60dp"
 | 
			
		||||
		android:layout_height="60dp"
 | 
			
		||||
		android:id="@+id/btn_copytimestamp"
 | 
			
		||||
		android:background="@drawable/ic_launcher"/>
 | 
			
		||||
 | 
			
		||||
</LinearLayout>
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user