码迷,mamicode.com
首页 >  
搜索关键字:auto layout    ( 21454个结果
EasyUI基础入门之Parser(解析器)
前言      JQuery EasyUI提供的组件包括功能强大的DataGrid,TreeGrid、面板、下拉组合等。用户可以组合使用这些组件,也可以单独使用其中一个。(使用的形式是以插件的方式提供的) EasyUI体系结构      EasyUI所有的插件主要分为六大部分。Base基础、Layout布局、Menu&a...
分类:其他好文   时间:2014-06-03 04:21:57    阅读次数:243
使用Android-smart-image-view加载网络图片
界面效果 应用的权限   布局文件 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" andr...
分类:移动开发   时间:2014-06-03 00:45:02    阅读次数:303
css3 position fixed居中的问题
通常,我们要让某元素居中,会这样做: #element{ margin:0 auto; } 如果还想让此元素位置固定呢?一般我们会添加position:fixed,如下: #element{ position:fixed; margin:0 auto; } 但是这样做的结果就是,元素不居中了。这说明fixed使对象脱离了正常文档流。 解决方案: #ele...
分类:Web程序   时间:2014-06-02 23:00:57    阅读次数:327
auto_ptr浅析
auto_ptr是C++标准库中()为了解决资源泄漏的问题提供的一个智能指针类模板(注意:这只是一种简单的智能指针)auto_ptr的实现原理其实就是RAII,在构造的时候获取资源,在析构的时候释放资源,并进行相关指针操作的重载,使用起来就像普通的指针。std::auto_ptr pa(new Cl...
分类:其他好文   时间:2014-06-02 17:12:02    阅读次数:210
Java 多线程编程两个简单的例子
/** * @author gao */ package gao.org; public class RunnableDemo implements Runnable{ @Override public void run() { // TODO Auto-generated method stub for(int i=0;i<10;i++){ System.out.pri...
分类:编程语言   时间:2014-06-01 18:12:33    阅读次数:441
《Pro Android Graphics》读书笔记之第六节
Android UI Layouts: Graphics Design Using the ViewGroup Class  Android ViewGroup Superclass: A Foundation for Layouts  The ViewGroup LayoutParams Class: Layout Parameters Deprecated Layouts: AbsoluteL...
分类:移动开发   时间:2014-06-01 14:50:42    阅读次数:397
实验时css层叠样式表不更新的情况
自定义了CSS的样式,希望在页面中起作用。因为MVC中Views/Shared/_Layout.cshtml是所有试图的公共文件,如下: @ViewBag.Title @RenderBody()通过这句话使用了一个外部层叠样式表文件,位置在"~/Content/Site....
分类:Web程序   时间:2014-06-01 12:13:36    阅读次数:274
Android应用程序中的多个Activity的显示创建和调用
布局文件: <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="...
分类:移动开发   时间:2014-06-01 04:04:04    阅读次数:490
android:修改PagerTabStrip中的背景颜色,标题字体的样式、颜色和图标以及指示条的颜色
1.修改PagerTabStrip中的背景颜色我们在布局中直接设置background属性即可: <android.support.v4.view.ViewPager android:id="@+id/pager" android:layout_width="fill_parent" android:layout_height="fill_paren...
分类:移动开发   时间:2014-05-31 23:42:11    阅读次数:624
CSS之绝对定位那些事
1.垂直居中有时我们会使用margin: 0 auto;作居中使用。但有的时候我们需要垂直居中,例如在div里面垂直居中显示一张加载中的gif图。下面这种写法就可以完美实现:垂直居中的子容器 { position: absolute; left: 0; right: 0; ...
分类:Web程序   时间:2014-05-31 20:15:24    阅读次数:261
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!