Animation TypeEvaluator View的animate方法 ValueAnimator ObjectAnimator AnimatorSet 使用xml来创建动画 animation objectAnimator set Animator set 自己定义ObjectAnimato
分类:
移动开发 时间:
2016-02-23 11:24:08
阅读次数:
322
- (BOOL)prefersStatusBarHidden{ return YES; } //隐藏bar 2:让键盘消失 //// [_lastField resignFirstResponder]; // [self.view endEditing:YES];//gzz0223 // // //
分类:
其他好文 时间:
2016-02-23 11:17:17
阅读次数:
122
定义一个继承自UIview的类(即我们要移动的视图) BallView.h 1 @interface BallView : UIView 2 { 3 CGPoint startPoint; 4 } 5 @end BallView.m 1 @implementation BallView 2 3 -
分类:
其他好文 时间:
2016-02-23 11:15:14
阅读次数:
125
本文的主要内容就是分别介绍以上视图的七种布局显示方式效果及实现,大纲如下: 1、View布局概述 2、线性布局(Linear Layout) 2.1、Tips:android:layout_weight="1" 3、相对布局(Relative Layout) 4、表格布局(Table Layout)
分类:
移动开发 时间:
2016-02-23 11:08:34
阅读次数:
328
版权声明:本文为博主原创文章,未经博主允许不得转载。 Eclipse修改svn地址 SVN地址变更后 需要重定向 步骤有3 : 1 ) 打开eclipse中SVN资源库 在Eclipse中选择Windows-> Show View->others 如果列表里面没有就去 other... 里面找 下图
分类:
系统相关 时间:
2016-02-23 10:58:28
阅读次数:
208
一直想写事件分发机制的文章,不管咋样,也得自己研究下事件分发的源码,写出心得~ 首先我们先写个简单的例子来测试View的事件转发的流程~ 1、案例 为了更好的研究View的事件转发,我们自定以一个MyButton继承Button,然后把跟事件传播有关的方法进行复写,然后添加上日志~ MyButton
分类:
移动开发 时间:
2016-02-22 23:32:48
阅读次数:
446
ListView和Adapter的使用 首先介绍一下ListView是Android开发过程中较为常见的组件之一,它将数据以列表的形式展现出来。一般而言,一个ListView由以下三个元素组成: 1、View,用于展示列表,通常是一个xml所指定的。大家都知道Android的界面基本上是由xml文件
分类:
其他好文 时间:
2016-02-22 22:04:59
阅读次数:
288
In Django, web pages and other content are delivered by views. To get from a URL to a view, Django uses what are known as ‘URLconfs’. A URLconf maps U...
分类:
其他好文 时间:
2016-02-22 17:44:45
阅读次数:
246
关于状态栏和导航栏遇到的设置问题1:statusBar字体为白色在plist里面设置View controller-based status bar appearance 为 NO;设置statusBarStyle 为 UIStatusBarStyleLightContent2:设置statusBa
分类:
其他好文 时间:
2016-02-22 17:31:43
阅读次数:
142
可以通过设置 VC对应的 XIB 中 View 的show attrubite inspector属性,更改其 Orientation为 Landscape,即可默认为横屏布局。我们可以通过3种方式设置 App界面的取向。第一种:通过全局设置// The system only calls this
分类:
移动开发 时间:
2016-02-22 17:12:39
阅读次数:
162