Notifications(API Guides)//未完
来源:互联网 发布:炒股训练软件 编辑:程序博客网 时间:2024/06/04 19:03
Notifications(API Guides)
Notification Design://通知设计
Notifications, as an important part of the Android UI, have their own design guidelines. To learn how to design notifications and their interactions, read the Android Design Guide Notifications topic.
//
Note://注意
Except where noted, this guide refers to the NotificationCompat.Builder
class in the version 4 Support Library. The class Notification.Builder
was added in Android 3.0.
Notification Display Elements://通知显示的元素
Notifications in the notification drawer can appear in one of two visual styles, depending on the version and the state of the drawer:
- Normal view
- The standard view of the notifications in the notification drawer.
- Big view
- A large view that's visible when the notification is expanded. Big view is part of the expanded notification feature available as of Android 4.1.
These styles are described in the following sections.//这些样式在以下部分被描述
Normal view//标准视图
A notification in normal view appears in an area that's up to 64 dp tall. Even if you create a notification with a big view style, it will appear in normal view until it's expanded. This is an example of a normal view:
Figure 3. Notification in normal view.//图形3.标准视图的通知
The callouts in the illustration refer to the following://插图中的插图的编号请参考下面:
- Content title//内容标题
- Large icon//大图标
- Content text//内容文本
- Content info//内容信息
- Small icon//小图标
- Time that the notification was issued. You can set an explicit value with
setWhen()
; if you don't it defaults to the time that the system received the notification.//通知发布的时间。你可以通过setWhen()设置一个明确的值;如果你不设置的话,默认的时间是系统收到通知的时间。
Big view//大视图
- Notifications(API Guides)//未完
- Android API Guides---Notifications
- API Guides/Input Controls
- API Guides/Permisson 翻译
- Camera API Guides
- API Guides - App Components
- [翻译]API Guides - Service
- [翻译]API Guides - Layouts
- Android API Guides
- API Guides:Fragment
- service [翻译]API Guides
- API Guides - introduction
- android API Guides------------------Fragment
- Android API Guides - Activities
- Android API Guides - Introduction
- Service API Guides
- API Guides > Loaders
- API Guides > Contacts Provider
- javascript中的时间大小比较
- js回调函数传参
- 使用ts_calibrate校准触摸屏
- linux下非root权限的mysql安装
- Linux下SQL Developer 4.0 安装
- Notifications(API Guides)//未完
- select into 和 insert into select的区别
- 职场新人该怎么度过浮躁期
- 未來의 成의 時運 (韓長庚 易學原理總論)
- 2014年一季度课程安排
- 模型&技术&方法&机制【http://blog.sina.com.cn/s/blog_5420e0000101hy7o.html】
- Tomcat 多端口,多虚拟主机配置方法
- Introduction to the OSI Reference Model
- 初识redis