![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Android
蓝天vszy
这个作者很懒,什么都没留下…
展开
-
Notification返回到当前正在运行的Activity
android Notification notification=... NotificationManager nm=... // Intent notificationIntent = new Intent(this,this.getClass()); PendingIntent contentIntent = PendingIntent.getActivity(this, 0,原创 2015-01-27 13:49:35 · 326 阅读 · 0 评论 -
仿QQ5.0侧滑效果
1.工程截图 2.主要代码 MainActivity.java package com.example.slidingpane; import android.app.Activity; import android.app.FragmentTransaction; import android.os.Bundle; import android.support.v4.widget.S原创 2015-01-08 11:58:51 · 379 阅读 · 0 评论 -
状态栏返回到当前正在运行的Activity
android Notificationnotification=... NotificationManagernm=... // IntentnotificationIntent = new Intent(this,this.getClass()); PendingIntentcontentIntent = PendingIntent.getActivity(this,0,notif原创 2015-01-27 13:53:37 · 531 阅读 · 0 评论 -
使用Animation-list实现等待加载动画效果
第一步:准备两张或多张图片放到res/drawable文件夹里,我这里准备了两张图片: wb_loading_frame1.png wb_loading_frame2.png 第二步:写动画Animation-list帧布局文件wb_loading_frame.xml,文件存放在res/drawable目录下 wb_loading_f原创 2015-01-04 10:47:07 · 468 阅读 · 0 评论