去掉衰退边缘android:fadingEdge="none"去掉阴影效果和阻尼效果android:overScrollMode="never"...
分类:
其他好文 时间:
2015-08-05 15:01:17
阅读次数:
124
首先看一下效果吧:
文件一:PictureCarouselView.himport define SELF_WIDTH self.scrollView.frame.size.widthdefine SELF_HEIGHT self.scrollView.frame.size.heightimport “PictureCarouselView.h”@...
分类:
移动开发 时间:
2015-08-04 15:52:50
阅读次数:
150
Why ListView?ListView 如果仅仅出于功能上的需求ListView可能没有存在的必要,ListView能作的事情基本上ScrollView也能胜任。ListView存在的最根本的原因在于它的高效(如何实现的?).ListView通过对象的复用从而减少内存的消耗,也减少了对象的创建从...
分类:
编程语言 时间:
2015-08-04 12:42:08
阅读次数:
131
//相对位置,学会使用-scrollView.contentSize = CGSizeMake(320*3,160);
#import "ViewController.h"
@interface ViewController ()
{
UIScrollView *_scrollView1;
UIScrollView *_scrollView2;
UIScrollView ...
分类:
其他好文 时间:
2015-08-04 11:10:58
阅读次数:
164
[self.contentView addSubview:self.scrollView]; self.scrollView.userInteractionEnabled = NO; [self.contentView addGestureRecognizer:self.scro...
分类:
其他好文 时间:
2015-08-03 22:17:50
阅读次数:
112
IOS第六天(3:scrollView 图片轮播器)#import "HMViewController.h"#define kImageCount 5@interface HMViewController () @property (nonatomic, strong) UIScrollVi...
分类:
移动开发 时间:
2015-08-03 16:41:15
阅读次数:
121
***查看大图#import "HMViewController.h"@interface HMViewController () @property (strong, nonatomic) IBOutlet UIScrollView *scrollView;@property (nonatomic...
分类:
移动开发 时间:
2015-08-03 16:10:43
阅读次数:
132
本文转载自:http://www.lanou3g.com/bbs/forum.php?mod=viewthread&tid=5193 在做项目的事后有一个注册页面,为了适配屏幕采用了StoryBoard,添加约束以后运行后发现一个问题。? 在4.0 甚至更大的屏幕下是没有问...
分类:
其他好文 时间:
2015-08-02 16:56:22
阅读次数:
1325
/** * (获取输入) */ private void showInputDialog() { ScrollView scrollview = getInitView() ; final LinearLayout layout = (L...
分类:
移动开发 时间:
2015-08-02 00:55:58
阅读次数:
290
public?class?MainActivity?extends?Activity?{???
????private?ListView?listView;???
????@Override???
????protected?void?onCreate(Bundle?savedInstanceState)?{???
??...
分类:
其他好文 时间:
2015-08-01 14:25:54
阅读次数:
89