摘要: // 获取自定义动画实例 CustomRotateAnim rotateAnim = CustomRotateAnim.getCustomRotateAnim(); // 一次动画执行0.2秒 rotateAnim.setDuration(200); // 设置为循环播放 rotateAnim.setRepeatCount(4); // 设置为匀速 rotateAnim.setInterpola... 阅读全文
posted @ 2016-12-23 16:15 童话二分之一 阅读(206) 评论(0) 推荐(0) 编辑
摘要: // 为发送通知的按钮的点击事件定义事件处理方法 public void send() { ///// 第一步:获取NotificationManager NotificationManager nm = (NotificationManager) getSystemService(Context.NOTIFICATION... 阅读全文
posted @ 2016-12-23 16:09 童话二分之一 阅读(333) 评论(0) 推荐(0) 编辑