摘要: 实现原理:http://www.jcodecraeer.com/a/anzhuokaifa/androidkaifa/2014/0627/1625.html 如何使用:实现PullToZoomInListView类 阅读全文
posted @ 2016-03-02 14:51 我是小光 阅读(153) 评论(0) 推荐(0) 编辑
摘要: 如何使用: 接口 public interface OnHeaderUpdateListener { /** * 返回一个view对象即可 * 注意:view必须要有LayoutParams */ public View getPinnedHeader(); public void updatePi 阅读全文
posted @ 2016-03-01 16:00 我是小光 阅读(1152) 评论(0) 推荐(0) 编辑
摘要: 使用方法: 在Activity onCreate()中 resideMenu = new ResideMenu(this); resideMenu.setBackground(R.drawable.menu_background); resideMenu.attachToActivity(this) 阅读全文
posted @ 2016-02-29 19:15 我是小光 阅读(250) 评论(0) 推荐(0) 编辑
摘要: 简略概述: 1 <LinearLayout 2 android:layout_width="match_parent" 3 android:layout_height="match_parent" 4 android:orientation="vertical"> 5 <TextView 6 and 阅读全文
posted @ 2016-02-27 11:04 我是小光 阅读(309) 评论(0) 推荐(0) 编辑
摘要: 效果图: 1.lsitview中view元素的设置。 在源代码中设置了menu了,从而实现了listview的一系列应用效果。 1.menuItem类封装了每一行的各种属性 public MenuItem(int width, String text, int textSize, int textC 阅读全文
posted @ 2016-02-25 11:18 我是小光 阅读(421) 评论(0) 推荐(0) 编辑
摘要: 学习要点:下拉刷新 这个小应用包含了在使用到GridView,FrameLayout,TextView,ListView等等控件时的所有下拉刷新效果下拉刷新具有极为强大的使用空间,几乎所有的应用都会用到。 源码解析文档:http://a.codekk.com/detail/Android/Grumo 阅读全文
posted @ 2016-02-24 12:54 我是小光 阅读(841) 评论(0) 推荐(0) 编辑
摘要: 在逛极客学院网站时,见到了一份很好的源代码,用于制作类似Google健身的环形计数器,感谢大大的源码共享,在分析代码过程中也学习到了很多,这是源码地址:http://download.jikexueyuan.com/detail/id/1040.html接下来进行对源码的理解,以方便日后回顾学习,因... 阅读全文
posted @ 2015-11-03 14:50 我是小光 阅读(692) 评论(0) 推荐(0) 编辑
摘要: http://jingyan.baidu.com/article/3d69c551886ef9f0cf02d786.html 阅读全文
posted @ 2015-09-26 15:33 我是小光 阅读(126) 评论(0) 推荐(0) 编辑
摘要: 今天遇到了一个问题:android.view.InflateException: Binary XML file line #16: Error inflating class com.example.ui.FocusedView。FocusedView是继承了Textview。出现了这个错误,在C... 阅读全文
posted @ 2015-09-21 23:59 我是小光 阅读(186) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2015-09-16 20:01 我是小光 阅读(4) 评论(0) 推荐(0) 编辑