语法:cursor :auto|all-scroll|col-resize|crosshair|default|hand|move|help|no-drop|not-allowed|pointer|progress|row-resize|text|vertical-text|wait|*-resiz...
分类:
Web程序 时间:
2015-09-09 10:58:40
阅读次数:
216
提示:vendor\laravel\framework\src\Illuminate\View是视图模块所在的文件夹,如未说明类所在文件位置则指此文件夹。1. 服务提供者类注入相关类到容器在使用视图相关的功能之前是需要做些准备的,准备自然是在服务提供者类运行的(在app\config.php的pro...
分类:
其他好文 时间:
2015-09-09 09:43:08
阅读次数:
281
activity 希望的形式 于AndroidManifest.xml 建立 theme 属性 事实上影藏 activity 就是隐藏 activity 的view.先找到方法 获取activity rootViewprivate static View get_root_view(Acti...
分类:
移动开发 时间:
2015-09-09 09:39:35
阅读次数:
131
使用js来加载tab,防止多次加载举例:html代码 tab js调用方法$(function() { var titleArray = [ "基本信息", "其它信息" ]; var urlArray = [ "view?guid=${guid}", "other?guid=${guid}" ];...
分类:
其他好文 时间:
2015-09-09 08:29:57
阅读次数:
183
If u using controller & controllerAs in directive, then the link()'s 4th param 'controller' will refer to the controller u defined before. function Me...
分类:
数据库 时间:
2015-09-09 06:14:24
阅读次数:
181
图形和图像工具开源软件http://www.oschina.net/project/tag/181/imagetools?sort=view&lang=21&os=0
分类:
其他好文 时间:
2015-09-09 06:14:16
阅读次数:
121
View Coontroller在不关联的情况下跳转//写在button的方法中// 获得storyBoard当前故事板 UIStoryboard *storyboard = [UIStoryboard storyboardWithName:@"Main" bundle:nil]; //...
分类:
其他好文 时间:
2015-09-08 21:36:10
阅读次数:
165
1. 当用户触摸屏幕的时候,会产生许多手势,例如down,up,scroll,filing等等,我们知道View类有个View.OnTouchListener内部接口,通过重写他的onTouch(Viewv,MotionEventevent)方法,我们可以处理一些touch事件,但是这个方法太过简单...
分类:
其他好文 时间:
2015-09-08 20:14:15
阅读次数:
152
你需要为整个应用替换自定义字体。解决方案1)Android默认方法 #1你可以通过ID查找到View,然后挨个为它们设置字体。在单个View的情况下,它看起来也没有那么可怕。Typeface customFont = Typeface.createFromAsset(this.getAssets()...
分类:
移动开发 时间:
2015-09-08 20:08:30
阅读次数:
159
字体随滑杆的滑动而变大或变小。用滑杆去控制字体的大小很简单,但用字体去控制自定义tableViewcell内字体的大小也很简单,只不过第一次做的时候可能要摸索一下,这里我就简单的给大家演示一下:这是一个按钮,点击按钮弹出一个带有slider的view- (IBAction)btnClick:(id)...
分类:
其他好文 时间:
2015-09-08 18:11:40
阅读次数:
205