码迷,mamicode.com
首页 >  
搜索关键字:parent    ( 6866个结果
Android Layout Binder(在线将XML中View find出来,生成java代码的工具)
废话不多说,这是地址:http://android.lineten.net/layout.php。 有图有真相,例如: 你的XML假如是这样:     android:layout_width="fill_parent"     android:layout_height="fill_parent"     android:orientation=...
分类:移动开发   时间:2014-05-09 15:20:54    阅读次数:424
HTML <a href >标签的target属性
规定在何处打开链接文档。_blank 在新窗口中打开被链接文档_parent 在父框架集中打开被链接文档_self 默认。在相同的框架中打开被链接文档_top 在整个窗口中打开被链接文档framename 在指定的框架中打开被链接文档。
分类:Web程序   时间:2014-05-09 13:27:51    阅读次数:367
Boost智能指针——weak_ptr
循环引用:引用计数是一种便利的内存管理机制,但它有一个很大的缺点,那就是不能管理循环引用的对象。一个简单的例子如下:#include#include#include#includeclassparent;classchildren;typedefboost::shared_ptr parent_pt...
分类:其他好文   时间:2014-05-09 13:01:22    阅读次数:326
禁止Chrome加载电脑管家广告过滤脚本代码
今天用Chrome调试脚本,发现加载了以下脚本内容:/* 电脑管家chrome 广告过滤 */ var GJAD_CS = { elemhideElt : null, setElemhideCSSRules: function (selectors) { if (GJAD_CS.elemhideElt && GJAD_CS.elemhideElt.parent...
分类:其他好文   时间:2014-05-09 02:40:19    阅读次数:307
Android Scrollview 内部组件android:layout_height="fill_parent"无效的解决办法
Found the solution myself in the end. The problem was not with theLinearLayout,but with theScrollView(seems weird, considering the fact that theScroll...
分类:移动开发   时间:2014-05-08 13:42:02    阅读次数:321
android style和attr的用法
一 、对style和attr的引用1. 当引用平台的style做为style的parent时,“@android:style/主题” == “@android:主题” ==“ android:style/主题 ”== “android:主题”;2. 当引用平台的style作为属性的引用时,“@and...
分类:移动开发   时间:2014-05-08 10:20:32    阅读次数:535
自定义QToolButton
最近做界面需要添加很多工具栏按钮,所以自己定义了一个Button直接上代码 1 #include "SettingButton.h" 2 #include 3 #include 4 5 _DIYButton::_DIYButton(QWidget *_Parent) : 6 QTool...
分类:其他好文   时间:2014-05-08 01:21:32    阅读次数:310
Android开发遇到的问题
1、导入某个现有工程文件夹后,出现R资源不能resolve的错误,导致程序无法编译运行,此时右键->properties->android,看最上面的taget又没有选择对,勾选当前可选的最高那个版本(即你本机已经安装的最高版本的SDK),点击apply,错误解决。 2、style.xml里出现样式无法识别: error: Error retrieving parent for ite...
分类:移动开发   时间:2014-05-07 11:52:55    阅读次数:434
Android学习笔记(九)——更复杂的进度对话框
显示操作进度的对话框 1、使用上一篇创建的同一项目,在activity_main.xml文件中添加一个Button: <Button android:id="@+id/btn_dialog3" android:layout_width="fill_parent" android:layout_height="wrap_cont...
分类:移动开发   时间:2014-05-07 11:30:28    阅读次数:434
iframe子页面与父页面js通信
iframe子页面与父页面通信根据iframe中src属性是同域链接还是跨域链接,通信方式也不同。一、同域下父子页面的通信父页面parent.html 子页面child.html 方法调用父页面调用子页面方法:FrameName.window.childMetho...
分类:Web程序   时间:2014-05-07 11:20:40    阅读次数:434
6866条   上一页 1 ... 683 684 685 686 687 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!