![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Android Ui控件
文章平均质量分 53
浮若小生
坚持修行。勿忘本心---Mao_Manito
展开
-
利用SupportV8 RenderScript包进行背景模糊化处理
/** * 模糊化渲染效果 返回模糊化渲染之后的bitMap 模糊化渲染操作 * @author Ming * */public class Blur { private static final int DEFAULT_BLUR_RADIUS = 10; public static Bitmap apply(Context context, Bitmap sen原创 2015-01-14 14:52:21 · 686 阅读 · 1 评论 -
强制获取状态栏DecorView的高度
/** * 获取状态栏的高度 * @param context * @return */ private static int getStatusHeight(Context context){ int statusHeight = 0; Rect localRect = new Rect(); ((Activity) contex原创 2015-02-03 15:21:32 · 444 阅读 · 0 评论 -
Android代码开启ActionBar显示效果
/** * 兼容于Support V4 不用导入V7包实现ActionBar功能. */ private void forceShowActionBar(){ try { ViewConfiguration config = ViewConfiguration.get(this); Field menuKeyField = ViewConfiguration.class原创 2015-01-19 14:22:39 · 426 阅读 · 0 评论