摘要:
commit()的文档 官方文档如下: Commit your preferences changes back from this Editor to the SharedPreferences object it is editing. This atomically performs the 阅读全文
摘要:
Android 使用Font Awesome 显示文字图标 简单几步就可以完成 简单的效果图: 1. 创建 assets 文件夹 在Android Studio 上的创建步骤为: 在 上右键 . 将FontAwesome 字体文件copy到assets指定的路径,这里我放在 . 2. 编写资源文件与 阅读全文
摘要:
状态栏 a.getBoolean(1, false) 报错 这个错误在编译运行时候并不会出现,但是当需要 编译打包 的时候,就会报出这个异常。 TypedArray a = mContext.obtainStyledAttributes(attrs); boolean hasBottomLine = 阅读全文
摘要:
WindowManager 实现悬浮窗 详解 一:对于想直接看效果的,可以看看我的demo app. 链接: "http://sj.qq.com/myapp/detail.htm?apkName=com.inno.backdot" 源码: "https://github.com/didikee/Ba 阅读全文