标签:android style blog color 使用 os
public Notification(int icon, CharSequence tickerText, long when) Deprecated. Use Notification.Builder instead.------>使用Notification.Builder() Constructs a Notification object with the information needed to have a status bar icon without the standard expanded view.
Notification noti = new Notification.Builder(mContext) .setContentTitle("New mail from " + sender.toString()) .setContentText(subject) .setSmallIcon(R.drawable.new_mail) .setLargeIcon(aBitmap) .build();
android.app.Notification,布布扣,bubuko.com
标签:android style blog color 使用 os
原文地址:http://www.cnblogs.com/lyyh-victory/p/3825118.html