一、ListView1. android-pulltorefresh 一个强大的拉动刷新开源项目,支持各种控件下拉刷新ListView、ViewPager、WevView、ExpandableListView、GridView、(Horizontal)ScrollView、Fragment上下左右拉...
分类:
其他好文 时间:
2014-08-19 22:12:55
阅读次数:
623
html: css:.posterTvGrid{position:relative;height:280px;}.posterTvGrid img{max-width:none;max-height:none;border:0 none;background:#888;}.posterTvGrid....
分类:
其他好文 时间:
2014-08-19 18:37:15
阅读次数:
270
刚刚学了Jquery,写了一个简单的图片滑动,但不是完成品。
分类:
其他好文 时间:
2014-08-18 23:18:12
阅读次数:
174
ViewPager是android的support库中的一个控件,也是一个在许多应用开发中都用得比较多的控件。目前为止,对ViewPager的使用,我一般是用ViewPager + Fragment的组合,偶尔也有ViewPager加View的组合。关于ViewPager + Fragment的使用,已经有FragmentAdapter的实现可以帮助我们快速进行开发了,但是每次使用ViewPage...
分类:
其他好文 时间:
2014-08-18 16:22:32
阅读次数:
198
这是我刚学jquery写的,感觉效果不是很好。#scrollPics{ height: 330px; width: 980px; margin-bottom: 10px; overflow: hidden; position:relative;}.slider ul{ ...
分类:
Web程序 时间:
2014-08-17 22:45:53
阅读次数:
202
第一部分 个性化控件(View)主要介绍那些不错个性化的View,包括ListView、ActionBar、Menu、ViewPager、Gallery、GridView、ImageView、ProgressBar、TextView、ScrollView、TimeView、TipView、FlipV...
分类:
移动开发 时间:
2014-08-17 12:53:43
阅读次数:
508
public class ViewPagerCompat extends ViewPager { //mViewTouchMode表示ViewPager是否全权控制滑动事件,默认为false,即不控制 private boolean mViewTouchMode = false; pub...
分类:
其他好文 时间:
2014-08-16 23:47:11
阅读次数:
316
js(function(A,w){function ma(){if(!c.isReady){try{s.documentElement.doScroll("left")}catch(a){setTimeout(ma,1);return}c.ready()}}function Qa(a,b){b.sr...
分类:
其他好文 时间:
2014-08-15 17:25:49
阅读次数:
369
1.Actionbar功能:菜单可视化back按钮标题子标题SherlockActionbar注意事项导入库,继承SherlockFragmentActivity主题修改为Theme.SherlockonCreateOptionsMenu()编译出错,Menu类型错,getSupportMenuInflater()设置Actionbar属性2.SlidingMenu开源项目源码中有错误修改Slidin..
分类:
其他好文 时间:
2014-08-15 02:55:57
阅读次数:
224
移动端触屏滑动的效果其实就是图片轮播,在PC的页面上很好实现,绑定click和mouseover等事件来完成。但是在移动设备上,要实现这种轮播的效果,就需要用到核心的touch事件。处理touch事件能跟踪到屏幕滑动的每根手指。以下是四种touch事件touchstart: //手指放到屏幕上时.....
分类:
移动开发 时间:
2014-08-14 23:32:36
阅读次数:
319