码迷,mamicode.com
首页 >  
搜索关键字:setting bundle    ( 9318个结果
unity 鼠标拖拽物体实现任意角度自旋转
主要涉及函数Input.GetAxis(“Mousex”) 可取得鼠标横向(x轴)移动增量Input.GetAxis(“Mousey”) 可取得鼠标竖向(y轴)移动增量通过勾股定理获取拖拽长度,长度越长旋转越快在project setting--Input可以设置直接上代码,看了就明白了 1 usi...
分类:其他好文   时间:2014-07-16 23:21:50    阅读次数:467
CheckBox控件中background和button的区别
控件:CheckBox android:background="@drawable/me_setting_switch_selector"这个表示替换默认控件的背景android:button="@drawable/me_setting_switch_selec...
分类:其他好文   时间:2014-07-16 23:17:48    阅读次数:433
屏蔽掉返回键,menu键,Home键
public class LockActivity extends Activity{ private static final int FLAG_HOMEKEY_DISPATCHED = 0x80000000; @Override protected void onCreate(Bundle s....
分类:其他好文   时间:2014-07-10 13:59:26    阅读次数:179
封装读取文件路径的类File.h+File.m
1 #import 2 3 #define FILE_PATH(filePath) [File path:(filePath)] 4 #define ROOT_PATH [File rootPath] 5 #define BUNDLE_PATH(fi...
分类:其他好文   时间:2014-07-10 11:32:48    阅读次数:155
一个Activity中使用两个layout实例
package com.sbs.aas2l;import android.app.Activity;import android.os.Bundle;import android.view.View;import android.view.View.OnClickListener;import an...
分类:其他好文   时间:2014-07-07 16:27:15    阅读次数:161
简单的menu和点击(包括alertDialog定制)
import android.app.Activity;import android.app.AlertDialog;import android.app.Dialog;import android.content.DialogInterface;import android.os.Bundle;i...
分类:其他好文   时间:2014-07-07 15:18:20    阅读次数:237
Notepad++技巧
1 正则表达式的查找和替换,例如删除每行开始的数字ctrl+H, ^\d\d\d:null2删除所有的空行: TextFX插件->Edit->Delete Blank Lines3 多格式支持,可以在windows上编辑linux格式的文本文件,Setting->Preferences->New D...
分类:其他好文   时间:2014-07-07 13:50:15    阅读次数:230
osgi实战学习之路:4.Bundle
源代码下载 Bundle是什么? Bundle是一个标准的jar,只是在META-INF/MANIFEST.MF中加入Bundle元数据的描述 Bundle元数据 标识 Bundle-ManifestVersion: 2 Bundle-Name: student-model Bundle-SymbolicName:...
分类:其他好文   时间:2014-06-30 06:31:34    阅读次数:232
Ruby相关的各种概念(rvm, gem, bundle, rake, rails等)
Ruby这个就不用多说了RVM用于帮你安装Ruby环境,帮你管理多个Ruby环境,帮你管理你开发的每个Ruby应用使用机器上哪个Ruby环境。Ruby环境不仅仅是Ruby本身,还包括依赖的第三方Ruby插件。都由RVM管理。Rails这个也不用多说,著名开发框架。详细看http://zh.wikip...
分类:其他好文   时间:2014-06-27 22:33:00    阅读次数:293
IOS-ScrollView创造Android-ViewPager效果
1.将图片放进images文件夹,并改名为images.bundle.拖进项目中 2拖动scrollView 并在左上角按住Scroll View 拖到View Controller中 选择deleagte. 这时候.指定Scroll View的代理为controller.  为指定的controller加上代理 #import @interface C...
分类:移动开发   时间:2014-06-27 07:19:43    阅读次数:259
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!