1.Android广播机制概述 Android广播分为两个方面:广播发送者和广播接收者,通常情况下,BroadcastReceiver指的就是广播接收者(广播接收器)。广播作为Android组件间的通信方式,可以使用的场景如下:1.同一app内部的同一组件内的消息通信(单个或多个线程之间); 2.同 ...
分类:
移动开发 时间:
2017-01-09 23:05:40
阅读次数:
237
CKeditor 配置使用一、使用方法:1、在页面<head>中引入ckeditor核心文件ckeditor.js<script type="text/javascript" src="ckeditor/ckeditor.js"></script> 2、在使用编辑器的地方插入HTML控件<texta ...
分类:
其他好文 时间:
2017-01-09 21:59:48
阅读次数:
271
series:[ { name: '成单率', type: 'line', data: valueArr2, itemStyle: { normal: { label: { show:true, position: 'top', textStyle: { color: '#333' }, forma ...
分类:
其他好文 时间:
2017-01-09 13:38:53
阅读次数:
432
之前在做直播的时候,参照了映客App,发现其首页的效果还挺不错,在网上找了一下相关仿映客App代码和博客,大部分都是说如何播放直播流和推流,对于UI这块甚少,所以我自己花了点时间研究了一下映客的首页UI效果。 转载自 SUN'S BLOG - 专注互联网知识,分享互联网精神! 。 映客首页主要分两部 ...
分类:
移动开发 时间:
2017-01-09 00:37:44
阅读次数:
361
目录 注册挂载rootfs文件系统 解压initramfs到rootfs中 prepare_namespace挂载磁盘上的文件系统 注册挂载rootfs文件系统 首先是rootfs的注册和挂载,rootfs作为一切后续文件操作的基石。 在执行kernel_init之前,会建立roofs文件系统。 解 ...
分类:
其他好文 时间:
2017-01-07 22:24:50
阅读次数:
604
ngResource模块是angular专门为RESTful架构而设计的一个模块,它提供了'$resource'模块,$resource模块是基于$http的一个封装.下面来看看它的详细用法 1.引入angular-resource.min.js文件 2.在模块中依赖ngResourece,在服务中... ...
分类:
其他好文 时间:
2017-01-07 19:36:10
阅读次数:
352
由于FloatingActionButton本质上是ImageView,跟ImageView相关的就不介绍,这里重点介绍新加的几个属性。 app:fabSize:FloatingActionButton的大小,有两种赋值分别是“mini”和“normal”,默认是“normal”。 app:back ...
分类:
其他好文 时间:
2017-01-05 18:36:20
阅读次数:
153
第一种方法.安装xchm,安装命令sudo apt-get install xchm,打开xchm,在终端下输入xchm。 第二种方法.安装kchmviewer,安装命令sudo apt-get install kchmviewer,打开kchmviewer,在终端下输入kchmviewer。 ...
分类:
系统相关 时间:
2017-01-05 13:39:14
阅读次数:
205
1、按钮 UIButton UIButton btn = new UIButton(); btn.Frame = new RectangleF(150,310,80,30); //按钮位置一件宽高 btn.SetTitle("Button",UIControlState.Normal); //显示的 ...
分类:
移动开发 时间:
2017-01-04 11:03:17
阅读次数:
614
1 // UIView.transition 2 3 // 1、可以设置从一个View到另一个View的转场动画 4 // UIView.transition(from: , to: , duration: , options: , completion: Void)?##((Bool) -> Vo... ...
分类:
其他好文 时间:
2017-01-03 20:46:53
阅读次数:
185