码迷,mamicode.com
首页 >  
搜索关键字:super pixel    ( 7505个结果
Android 自定义Dialog背景透明及显示位置设置
先贴一下显示效果图,仅作参考:代码如下:1、自定义Dialogpublic class SelectDialog extends AlertDialog{public SelectDialog(Context context, int theme) { super(context, theme...
分类:移动开发   时间:2015-02-13 16:05:10    阅读次数:316
uisearchDisplayController放在tableview里下拉刷新状态出现遮挡
代码如下 - (void)viewDidLoad { [super viewDidLoad]; UISearchBar * searchBar =[[UISearchBar alloc]initWithFrame:CGRectMake(0, 0, 320, 44)]; self.tableView.tableHeaderView=searchBar; self...
分类:其他好文   时间:2015-02-12 18:31:29    阅读次数:193
关于java泛型的使用方式。。。。
转自:http://onewebsql.com/blog/generics-extends-super以下基本够用了Today we continue our mini-series on Java Generics. In previous posts we have investigatedho...
分类:编程语言   时间:2015-02-12 16:06:40    阅读次数:196
pyqt lineedit右边显示按钮效果
fromPyQt4importQtGui,QtCoreclassButtonLineEdit(QtGui.QLineEdit):buttonClicked=QtCore.pyqtSignal(bool)def__init__(self,icon_file,parent=None):super(But...
分类:其他好文   时间:2015-02-12 13:45:22    阅读次数:691
cocos2dx-lua class解析
function class(classname, super) local superType = type(super) local cls --如果父类既不是函数也不是table则说明父类为空 if superType ~= "function" and superTy...
分类:其他好文   时间:2015-02-11 23:15:31    阅读次数:257
UIScrollerView 的简单使用
//// RootViewController.m// Lianxi_02//// Created by Super man on 15-2-11.// Copyright (c) 2015年 super man. All rights reserved.//#import "RootViewCon...
分类:其他好文   时间:2015-02-11 20:31:45    阅读次数:164
Android FATAL EXCEPTION:main 空指针异常
Android FATAL EXCEPTION:main 空指针异常,抛出这个异常的时候提示错误的地方在onMeasure方法里的super.onMeasure(widthMeasureSpec, heightMeasureSpec); 还有Fragment里的一个button点击事件,这个button的前面还有一个Button,但是错误没报到那里。 最后发现原来xml布局文件button的i...
分类:移动开发   时间:2015-02-11 18:38:25    阅读次数:131
json 的解析-使用Android中的JSONObject和JSONArray解析json数据
1、代码 public class MainActivity extends Activity { TextView tv_json; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout...
分类:移动开发   时间:2015-02-11 16:47:50    阅读次数:132
swift之xib关联UIView
有点坑爹,设置file owner 不行,搞了一早上,来说下怎么关联吧自定义UIView要重写required init(coder aDecoder: NSCoder) { super.init(coder: aDecoder) }xib里面,不能设置file owner,要设...
分类:编程语言   时间:2015-02-11 15:56:57    阅读次数:281
opencv实现车牌识别之字符分割
简介   在前一篇中,我们已经定位出来了在图片中车牌号的位置,并且将车牌号图片复制成了新图片,并显示出来,本章在这些被截取出来的图片上继续处理。 截取出来的新图片如下: 图像灰阶/二值化   首先也是选择将图像进行灰阶,然后采用以255一遍开始,取占了总pixel为5%...
分类:其他好文   时间:2015-02-11 14:37:34    阅读次数:257
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!