原创 一鍵分享到本地已有的軟件上
一、分享StringShareCompat.IntentBuilder.from(this).setType("text/plain") .setText("內容").startChooser(); 二、分享文件 public vo
原创 dp和px的轉化
一、首先要認識下:屏幕密度ppippi pixles percent inch 每英寸的像素數ppi = 水平方向的像素數 / 屏幕寬度例如:3.7in 480 x 800 3.7 * 3.7 = 3x*3x +