Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/android/232.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Android的通知图标模板?_Android_Icons_Notifications - Fatal编程技术网

Android的通知图标模板?

Android的通知图标模板?,android,icons,notifications,Android,Icons,Notifications,有没有关于如何设计一个好的图标以在Android应用程序中作为通知放在状态栏中的教程? 理想情况下,我正在寻找一个模板或图标,我可以很容易地修改。我不是设计师。 我需要笑脸状态栏图标。以下是直接来自Android开发者页面的信息: 这还包含指向的链接 这是一个如何在通知栏中发出通知的示例,该通知在选中时启动活动。您可以从buzzbox sdk资源页面下载图标: 还有一个photoshop文件可以下载和修改 Android的官方模板包中还有一个简单的状态栏模板图标 请查看!这是一个创建大量And

有没有关于如何设计一个好的图标以在Android应用程序中作为通知放在状态栏中的教程? 理想情况下,我正在寻找一个模板或图标,我可以很容易地修改。我不是设计师。
我需要笑脸状态栏图标。

以下是直接来自Android开发者页面的信息:

这还包含指向的链接


这是一个如何在通知栏中发出通知的示例,该通知在选中时启动活动。

您可以从buzzbox sdk资源页面下载图标:

还有一个photoshop文件可以下载和修改

Android的官方模板包中还有一个简单的状态栏模板图标

请查看!这是一个创建大量Android图标的好工具,包括通知图标

Notification notification = new Notification(R.drawable.asterisk_sign, text, System.currentTimeMillis());
PendingIntent contentIntent = PendingIntent.getActivity(this, 0, new Intent(this, MainActivity.class), 0); //this is how we will launch an Activity when the user clicks the notification
notification.setLatestEventInfo(this, getText(R.string.app_name), text, contentIntent);
mNM.notify(R.string.minutemaid_service_started, notification);  //send the notification to the system, to be displayed in the notification bar