码迷,mamicode.com
首页 >  
搜索关键字:no orientation speci    ( 740个结果
iOS 8 by Tutorials (Section1:自适应布局)
Section1:自适应布局iOS8中,你将有新的方法去建立界面,你有完全独立的设备、屏幕尺寸、分辨率和设备方向(device orientation),你将会了解collections的特性、size classes和通用的Storyboards,每一个功能不仅仅在现在的设备做好最好的interf...
分类:移动开发   时间:2015-01-18 11:44:52    阅读次数:210
字符分割源代码(效果还可以)
void FFTGabor::GaborTransform(int * lpDIBBits, LONG lWidth, LONG lHeight, int Orientation, int Frequency, FFTGaborResult * result) {         LONG        i;         LONG        j;      ...
分类:其他好文   时间:2015-01-18 10:35:18    阅读次数:220
ios8中的UIScreen
Java代码 letorientation:UIInterfaceOrientation=UIApplication.sharedApplication().statusBarOrientationprintln("Currentlylandscape:"+((orientation==UIInte...
分类:移动开发   时间:2015-01-14 19:47:38    阅读次数:198
android基础一之AutoCompleteTextView和MultiAutoCompleteTextView
//activity_main.xml<LinearLayoutxmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical" tools:contex..
分类:移动开发   时间:2015-01-14 18:17:07    阅读次数:234
android基础二之ToggleButton
//activity_main.xml<LinearLayoutxmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical" tools:contex..
分类:移动开发   时间:2015-01-14 18:12:58    阅读次数:242
Android SurfaceView播放视频时横竖屏的调整
对于横屏录制的视频就横屏播放,对于竖屏录制的视频就竖屏播放。 在mainifest文件里对负责播放的Activity添加以下属性“ android:configChanges="orientation|keyboardHidden|screenSize"重写Acitivity的onConfig...
分类:移动开发   时间:2015-01-12 14:23:05    阅读次数:559
安卓传感器开发之指南针
代码很简单,主要是一些常用传感器的监听,指南针还是挺好用的。 布局代码 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="fill_parent" android:layout_...
分类:移动开发   时间:2015-01-06 17:58:56    阅读次数:180
android布局
1、LinearLayout LinearLayout是一种Android中最常用的布局之一,他将自己包含的子元素按照一个方向排列。方向有两种,水平或竖直。这个方向可以通过设置Android:orientation="vertical"或者Android:orientation="horizonta...
分类:移动开发   时间:2015-01-05 23:19:38    阅读次数:160
javascript判断手机旋转横屏竖屏
javascript判断手机旋转横屏竖屏// 横屏竖屏函数function orientationChange(){ switch(window.orientation) { case 0: // Portrait case 180: // Upside-down ...
分类:移动开发   时间:2015-01-05 18:01:36    阅读次数:187
Android 传感器之方向传感器
一般情况下,在android系统中获取手机的方位信息在api中有TYPE_ORIENTATION常量,可以像得到加速度传感器那样得到方向传感器sm.getDefaultSensor(Sensor.TYPE_ORIENTATION);然而我们这样做的话在最新版的SDK中就会看到这么一句话:“TYPE_ORIENTATION   This constant is deprecated. use S...
分类:移动开发   时间:2015-01-05 14:58:21    阅读次数:255
740条   上一页 1 ... 58 59 60 61 62 ... 74 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!