上一页 1 ··· 5 6 7 8 9 10 11 12 13 下一页
  2015年11月27日
摘要: 常用的程序通知,显示到主页面的顶部栏。 1 package com.lixu.tongzhi; 2 3 import android.app.Activity; 4 import android.app.Notification; 5 import android.app.Notification... 阅读全文
posted @ 2015-11-27 11:13 0代码狂人0 阅读(4367) 评论(1) 推荐(0) 编辑
  2015年11月26日
摘要: 1 package com.lixu.tongxunlu; 2 3 import java.util.ArrayList; 4 import com.lixu.tongxunlu.PinnedSectionListView.PinnedSectionListAdapter; 5 imp... 阅读全文
posted @ 2015-11-26 17:47 0代码狂人0 阅读(1006) 评论(0) 推荐(0) 编辑
摘要: 《类似通讯录分组的Android PinnedSectionListView,分组标签悬停滑入滑出》常用的联系人、通讯录,会按照联系人的姓氏从A,B,C,,,X,Y,Z,这样归类排列下去,方便用户快速查找和定位。PinnedSectionListView是一个第三方的开源框架,在github上的链接... 阅读全文
posted @ 2015-11-26 11:30 0代码狂人0 阅读(800) 评论(0) 推荐(0) 编辑
  2015年11月25日
摘要: 1 public void toggleFullscreen(boolean fullScreen) 2 { 3 //fullScreen为true时全屏 4 5 WindowManager.LayoutParams attrs = getWindow().ge... 阅读全文
posted @ 2015-11-25 22:00 0代码狂人0 阅读(322) 评论(0) 推荐(0) 编辑
摘要: 1 public static void setScreenBright(Activity activity, boolean keepScreenOn) {2 if (keepScreenOn) {3 activity.getWindow().add... 阅读全文
posted @ 2015-11-25 21:53 0代码狂人0 阅读(373) 评论(0) 推荐(0) 编辑
摘要: 《Android SwipeToDismiss:左右滑动删除ListView条目Item》Android的SwipeToDismiss是github上一个第三方开源框架(github上的项目链接地址:https://github.com/romannurik/Android-SwipeToDismi... 阅读全文
posted @ 2015-11-25 18:04 0代码狂人0 阅读(1470) 评论(0) 推荐(1) 编辑
摘要: 《Android SwipeToDismiss:左右滑动删除ListView条目Item》Android的SwipeToDismiss是github上一个第三方开源框架(github上的项目链接地址:https://github.com/romannurik/Android-SwipeToDismi... 阅读全文
posted @ 2015-11-25 14:46 0代码狂人0 阅读(627) 评论(0) 推荐(0) 编辑
  2015年11月24日
摘要: 一个比较有趣的Android第三方开源波形view:WaveView,这种WaveView在一些常见的APP开发中,以水面波浪波形的形象的生动展示手机还剩余多少电量,存储容量还有多少等,比较形象直观生动。下载地址:点此下载wave:above_wave_color wave:blow_wave_co... 阅读全文
posted @ 2015-11-24 17:39 0代码狂人0 阅读(1358) 评论(0) 推荐(0) 编辑
摘要: PullToRefreshListView是第三方开源框架下拉刷新列表,比较流行的QQ 微信等上面都在用。下载地址(此开源框架于2013年后不再更新)点此下载 1 package com.lixu.kaiyuanxiala; 2 3 import java.util.ArrayList; 4 5... 阅读全文
posted @ 2015-11-24 16:58 0代码狂人0 阅读(684) 评论(0) 推荐(0) 编辑
摘要: 《Android SwipeRefreshLayout:谷歌官方SDK包中的下拉刷新》 下拉刷新在如今移动开发中应用如此广泛和普遍,以至于谷歌干脆在SDK中给予支持。在android-support-v4包中,谷歌增加了SwipeRefreshLayout,该组件提供基础的下拉刷新表现能力和开放出来... 阅读全文
posted @ 2015-11-24 15:14 0代码狂人0 阅读(568) 评论(0) 推荐(1) 编辑
上一页 1 ··· 5 6 7 8 9 10 11 12 13 下一页