![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
View
Rainbow Chang
这个作者很懒,什么都没留下…
展开
-
Android DecorView浅析
摘要 一、DecorView为整个Window界面的最顶层View。 二、DecorView只有一个子元素为LinearLayout。代表整个Window界面,包含通知栏,标题栏,内容显示栏三块区域。 三、LinearLayout里有两个FrameLayout子元素。 (20)为标题栏显示界面。只有一个TextView显示应用(请发邮件到 freeget.one@gma转载 2016-09-02 13:55:24 · 296 阅读 · 0 评论 -
Android: creating a Bitmap with SurfaceView content
draw your SurfaceView onto a Canvas that's backed by a Bitmap? // be sure to call the createBitmap that returns a mutable Bitmap Bitmap b = Bitmap.createBitmap(100, 100, Bitmap.Config.ARGB_8888...原创 2018-04-13 17:25:46 · 972 阅读 · 0 评论 -
imageview scaletype如何使用
imgView.setScaleType(ScaleType.MATRIX);你也可以这样做,在XML中android:scaleType="matrix"。你也可以这样做,在XML中android:scaleType="matrix"。ScaleType只能应用于src不能应用于background,所以imageview.setImageResource(相当于xml中...原创 2018-06-22 16:40:03 · 580 阅读 · 1 评论