码迷,mamicode.com
首页 >  
搜索关键字:view    ( 37068个结果
Angular2组件开发—表单输入(五)
NgFormModel - 绑定已有控件组NgFormModel指令类似于NgControlGroup指令,都是为控件提供容器。但区别在于,NgFormModel指令将已有的控件组绑定到DOM对象上: 1 @View({ 2 template : ` 3 4 ...
分类:其他好文   时间:2015-12-16 19:18:04    阅读次数:239
View页面内容的旋转,在某些情况下可替代屏幕旋转使用
这个是在做小秘书的体重曲线图的时候用到的,横排的时候可以多显示些内容,可是由于很多未知的冲突导至屏幕旋转起来非常麻烦,可用用旋转页面的内容来达到旋转屏幕的效果。代码如下: //旋转90度 CGAffineTransform at =CGAffineTransformMakeRotatio...
分类:其他好文   时间:2015-12-16 19:02:08    阅读次数:138
Mybatis 使用Mapper接口的Sql动态代码方式进行CURD和分页查询
1、Maven的pom.xmlView Code2、配置文件2.1、db.propertiesView Code2.2、mybatis.xmlView Code2.3、log4j.xmlView Code3、MybatisUtil工具类View Code4、Mapper映射文件 1 2 3...
分类:移动开发   时间:2015-12-16 18:58:00    阅读次数:354
Oracle EBS环境下查找数据源(OAF篇)
http://oracleseeker.com/2009/08/12/how_to_find_the_table_view_of_oaf_application_in_oracle_ebs/在OAF页面的查找后台的数据源相对于在Form中显得更加麻烦,同时也无法像Form中那样能够较为准确的定位,但...
分类:数据库   时间:2015-12-16 17:19:34    阅读次数:228
listview默认选择第一项,点击换子项背景图
(不是大神,没有几百子项目,去你丫的)private int last_item_position ; @Override public void onItemClick(AdapterView arg0, View view, int position, long arg3) { // 取消合成 ...
分类:其他好文   时间:2015-12-16 17:18:37    阅读次数:127
摇一摇功能
首先在viewDidLoad- (void)viewDidLoad { [super viewDidLoad]; // Do any additional setup after loading the view, typically from a nib. //设置允许摇一摇功能 [[UIApp....
分类:其他好文   时间:2015-12-16 15:37:35    阅读次数:151
自己的总结
一个view没有显示出来的原因: 1.没有frame 2.没有添加到父控件中 3.颜色与父控件颜色相同 4.hidden = YES 5.alpha < 0.01 6.被其他view给挡住了 7.frame在屏幕外部 8.父控件出现上面的情况
分类:其他好文   时间:2015-12-16 15:33:59    阅读次数:125
获取年月日时间
Android的文件有建议用Time代替Calendar。用Time对CPU的负荷会较小。在写Widget时特别重要。Time t=new Time(); // or Time t=new Time("GMT+8"); 加上Time Zone资料。[java] view plaincopypacka...
分类:其他好文   时间:2015-12-16 15:31:09    阅读次数:160
199. Binary Tree Right Side View (Tree, Stack)
Given a binary tree, imagine yourself standing on the right side of it, return the values of the nodes you can see ordered from top to bottom.For exam...
分类:其他好文   时间:2015-12-16 15:23:21    阅读次数:184
Android开发之使用AlertDialog创建对话框,单选框和多选框
对话框:代码: 1 public void click(View v) { 2 AlertDialog.Builder builder = new AlertDialog.Builder(this); 3 builder.setIcon(android.R.d...
分类:移动开发   时间:2015-12-16 12:31:05    阅读次数:2351
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!