Notifications4EveryWhere

码农软件 · 软件分类 · Android UI 组件 · 2019-04-27 09:58:48

软件介绍

基于android 4.1 Notification  样式实现的兼容包。

改进自源com.android.support.v4.app 里面的NotificationCompat.Builder。

由于原官方的兼容包中,只是对Notification 做了一层api 的切换,并没有让旧的平台实现android 4.1 Notification 的新特性。所以,我对照着android4.1的源码把,android 4.1 的部分新的Notification 的特性进行移植,让android 2.2 以上的平台都能够用一致的api 实现同样的效果。

目前除了android 4.1 的bigStyle 还没实现外,其他我知道的特性都已经移植完毕。效果可以看主页的截图。

如果你之前有使用NotificationCompat.Builder 的,你只需把com.android.support.v4.app.NotificationCompat.Builder 替换成com.android.support.v8.app.NotificationCompat.Builder 即可。

本文地址:https://www.codercto.com/soft/d/4484.html

Elements of Programming

Elements of Programming

Alexander A. Stepanov、Paul McJones / Addison-Wesley Professional / 2009-6-19 / USD 39.99

Elements of Programming provides a different understanding of programming than is presented elsewhere. Its major premise is that practical programming, like other areas of science and engineering, mus......一起来看看 《Elements of Programming》 这本书的介绍吧!

在线进制转换器
在线进制转换器

各进制数互转换器

RGB HSV 转换
RGB HSV 转换

RGB HSV 互转工具

HEX CMYK 转换工具
HEX CMYK 转换工具

HEX CMYK 互转工具