原创 C#創建縮略圖的操作類源碼

將代碼過程中經常用的一些代碼片段收藏起來,如下的代碼段是關於C#創建縮略圖的操作類的代碼,應該對小夥伴有一些用。 using System; using System.Collections.Generic; using System.Dr

原创 Android中獲取屏幕相關信息(屏幕大小,狀態欄、標題欄高度)的代碼

如下代碼內容是關於 Android中獲取屏幕相關信息(屏幕大小,狀態欄、標題欄高度)的代碼。 DisplayMetrics metrics = new DisplayMetrics(); getWindowManager().get