//竖屏@mediaalland(orientation:portrait){}//横屏@mediaalland(orientation:landscape){/*横屏时字体绿色*/.p2txti{font-size:1.4em;font-weight:500;display:inline;margin-right:.5em;}}
分类:
移动开发 时间:
2017-08-25 17:40:04
阅读次数:
158
android:orientation = "horizontal" 指定布局内控件排列方式为 水平排列 如下图: android:orientation = "vertical" 指定布局内控件排列方式为 垂直排列 如下图: 不设定android:orientation,默认情况为 水平排列 ...
分类:
移动开发 时间:
2017-08-22 01:52:26
阅读次数:
437
在Android中每次屏幕的切换动会重启Activity,所以应该在Activity销毁前保存当前活动的状态,在Activity再次Create的时候载入配置。在activity加上android:configChanges="keyboardHidden|orientation"属性,就不会重启a ...
分类:
其他好文 时间:
2017-08-17 15:48:32
阅读次数:
182
用法:if(browser.versions.iPad){$(".MapJSBtn").click(function(e){alert(1)}) 手机横屏的媒体查询@media screen and (orientation:landscape) {.checkStateMenu,.mainNav ...
分类:
移动开发 时间:
2017-08-11 13:28:25
阅读次数:
209
2 Object Orientation . . . . . . . . . . . . . . . . . . . . . . . . . 85 Encapsulation (Exam Objective 5.1) . . . . . . . . . . . . . 86 Inheritance, ...
分类:
其他好文 时间:
2017-08-04 19:32:20
阅读次数:
162
线性布局LinearLayout 一、简介 LinearLayout是一种线型的布局方式。LinearLayout布局容器内的组件一个挨着一个地排列起来:不仅可以控制个组件横向排列,也可控制各组件纵向排列。通过orientation属性设置线性排列的方向是垂直(vertical)还是纵向(horiz ...
分类:
其他好文 时间:
2017-08-02 21:01:03
阅读次数:
158
Area Learning How it works With Motion Tracking alone, the device tracks its movement and orientation through 3D space and tells you where it is and w ...
分类:
其他好文 时间:
2017-07-26 00:16:48
阅读次数:
149
1. 设定屏幕方向 当指定了屏幕的方向后(非SCREEN_ORIENTATION_UNSPECIFIED),屏幕就不会自己主动的旋转了 有2中方式控制屏幕方向: 1.1 改动AndroidManifest.xml 在AndroidManifest.xml的activity中增加: 横屏: andro ...
分类:
移动开发 时间:
2017-07-23 21:03:22
阅读次数:
307
一.单词部分 ①flex弹性布局 ②flex-direction伸缩方向 ③justify-content对齐 ④align-items对齐属性 ⑤align-content垂直布局 ⑥media媒体 ⑦device-width设备宽度 ⑧orientation方向 ⑨landscape竖屏 por ...
分类:
移动开发 时间:
2017-07-18 10:11:59
阅读次数:
927
Frames of Reference参考帧 When describing the position and orientation of something (for example, your Tango device), it is important to indicate the fra ...
分类:
其他好文 时间:
2017-07-16 15:51:30
阅读次数:
199