在 Android Studio 0.2.11 版本中,布局渲染(用于布局编辑器以及XML编辑器的布局预览窗口),支持 设计时布局属性.
这些属性用于布局在工具里渲染的时候,但是对运行时没有任何影响。这一点很有用,比如如果你想在编辑布局的时候把 样品数据放到文本框中,但又不些这些属性影响到你的运行的应用中。
若要使用设计时属性,请首先确保您有在您的布局中定义工具命名空间:
这个工具命名空间是Android的工具专门公认的命名空间,所以你定义在视图元素上的所有的tool-namespace的属性,在应用程序...
分类:
移动开发 时间:
2014-11-27 09:12:56
阅读次数:
148
1 因为我用的xib实现的添加picker 和textfiled的,@interfaceViewController:UIViewController{UIToolbar*tool;//主要用这存放按钮}@property(retain,nonatomic)IBOutletUIDatePicker*...
分类:
其他好文 时间:
2014-11-26 20:30:43
阅读次数:
242
给客户的文档
1 Download the ipa file
2 Drag file to iTunes’s App on the slide menu
if don’t have slide menu on the iTunes, can access the view on the tool bar, andclick “show slide bar”
...
分类:
其他好文 时间:
2014-11-25 23:49:00
阅读次数:
363
【InfoPanel】 The Info panel shows the color values beneath the pointerand, depending on the tool in use, gives other useful information. Choose Windo.....
分类:
其他好文 时间:
2014-11-25 20:27:53
阅读次数:
196
在施老师的项目中需要用到invoke,就是通过函数名反射相应的函数。一下代码简单地介绍了java反射中invoke方法,如果要具体的,可以参考魔乐核心课程的反射部分内容package org.curry.tool;import java.lang.reflect.Method;public clas...
分类:
编程语言 时间:
2014-11-25 10:40:12
阅读次数:
160
1, 在window下,使用widget.setWindowFlags(),参数为Qt::Tool,Qt::SubWindow 、 Qt::Popup三个参数,windows的任务栏上不显示该Qt窗口实例。 2,setwindowFlags(),参数为Qt::WindowStaysOnTopHint...
分类:
其他好文 时间:
2014-11-25 10:29:45
阅读次数:
167
1 /* 2 xraise 0.2 - A small tool to send a X application 3 to the foreground 4 Copyright 2010 - socol 5 Copyrig...
分类:
其他好文 时间:
2014-11-24 23:57:33
阅读次数:
329
jhat 是Java堆分析工具(Java heap Analyzes Tool). 在JDK6u7之后成为标配. 使用该命令需要有一定的Java开发经验. jhat 命令解析Java堆转储文件,并启动一个 web server. 然后用浏览器来查看/浏览 dump 出来的 heap. jhat 命令支持预先设计的查询, 比如显示某个类的所有实例. 还支持 对象查询语言(OQL, Object Query Language)。 OQL有点类似SQL,专门用来查询堆转储。 OQL相关的帮助信息可以在 jhat ...
分类:
编程语言 时间:
2014-11-24 15:25:20
阅读次数:
570
这个功能相当好,自动在Solution Explorer中展开并定位到当前代码所在的文件,免得自己找位置要找很久。设置方法:tool>>options>>projects and solutions>> 取消 track active item in solution explorer>>OK 保存...
分类:
其他好文 时间:
2014-11-24 15:00:43
阅读次数:
154
Open the Command Prompt (not as administrator)Navigate to the folder where IIS Express is installed on your machine.In the command line spin up a IISE...
分类:
数据库 时间:
2014-11-24 13:18:30
阅读次数:
202