1. Parcelable接口 Interface for classes whose instances can be written to and restored from a Parcel。 Classes implementing the Parcelable interface must ...
分类:
移动开发 时间:
2016-07-06 17:48:01
阅读次数:
213
1.document.write(""); 输出语句 2.JS中的注释为// 3.传统的HTML文档顺序是:document->html->(head,body) 4.一个浏览器窗口中的DOM顺序是:window->(navigator,screen,history,location,documen ...
分类:
Web程序 时间:
2016-07-06 11:53:11
阅读次数:
416
https://github.com/facebook/react-native/commit/ac12f986899d8520527684438f76299675dc0daa 这是react-native自带的生成图片的属性,所以使用之前只需要引用UIManager属性即可; View生成图片: ...
Android Monitor允许你从设备中录制一段MP4格式的视频,最长允许3分钟。录制视频在硬件设备中录制视频:
1、 打开一个项目
2、 在设备中运行应用
3、 显示Android Monitor
4、 准备录制
5、 在Android Monitor中点击Screen Record
6、 点击 Start Recording开始录制
7、 点击 Stop Reco...
分类:
移动开发 时间:
2016-07-03 19:49:57
阅读次数:
217
Delphi 中窗体Form显示在第二个显示器中的方法: 假定要显示在扩展的第二个显示器的Form的名称为frmFloat,则除了要设置该form的top、left、width、height为Screen.Monitors[1].Top, Screen.Monitors[1].Left, Scree ...
@media screen and (max-device-width: 320px) {body {-webkit-text-size-adjust:none}}@media screen and (max-device-width: 480px) {body {-webkit-text-size ...
分类:
移动开发 时间:
2016-07-01 18:24:24
阅读次数:
185
1.Application.CaptureScreenshot("Screenshot.png", 0); 2. 截中间4分之(如下图):CaptureScreenshot2( new Rect( Screen.width*0.25f, Screen.height*0.25f, Screen.wid ...
分类:
编程语言 时间:
2016-06-30 23:19:09
阅读次数:
188
The navigation drawer is a panel that displays the app’s main navigation options on the left edge of the screen. It is hidden most of the time, but is ...
分类:
其他好文 时间:
2016-06-29 20:17:31
阅读次数:
246
/** * 设置为横屏 */if(getRequestedOrientation()!= ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE){ setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_LANDS ...
分类:
其他好文 时间:
2016-06-28 20:19:18
阅读次数:
177
1.window对象
2.location对象
3.navigator对象
4.screen对象
5.history对象...
分类:
Web程序 时间:
2016-06-28 12:50:54
阅读次数:
217