码迷,mamicode.com
首页 >  
搜索关键字:auto layout    ( 21454个结果
linux memcached开机启动
1.首先是写 service脚本service脚本需要进入到目录/etc/init.d中,然后touch memcached,最后vim memcached后进行脚本编写,脚本如下:#!/bin/bash#chkconfig:345 60 60#description:auto_runexport ...
分类:系统相关   时间:2014-05-17 00:52:40    阅读次数:357
android ScrollView 充满屏幕
android:fillViewport=trueScrollView下面的组件如果有android:layout_height="fill_parent"或android:layout_height="wrap_content"那么必须将ScrollView的android:fillViewpor...
分类:移动开发   时间:2014-05-16 18:09:45    阅读次数:368
android布局layout中的一些属性
1、可以使某些资源文件或UI组件可重用 2、定义一个文本编辑框,使用绝对定位 android:layout_x="20dip" android:layout_y="80dip" 3、控件位置 android:layout_centerHorizontal 控制该组件是否位于布局容器的水平居中位置 a...
分类:移动开发   时间:2014-05-16 18:07:41    阅读次数:571
Android 开发中关于layoutinflater
Inflater英文意思是膨胀,在Android中应该是扩展的意思吧。 LayoutInflater的作用类似于 findViewById(),不同点是LayoutInflater是用来找layout文件夹下的xml布局文件,并且实例化!而 findViewById()是找具体某一个xml下的具体 ...
分类:移动开发   时间:2014-05-16 09:20:39    阅读次数:432
CSS cursor 属性
值 描述 url 需使用的自定义光标的 URL。 注释:请在此列表的末端始终定义一种普通的光标,以防没有由 URL 定义的可用光标。 default 默认光标(通常是一个箭头) auto 默认。浏览器设置的光标。 crosshair 光标呈现为十字线。 pointer 光标呈现为指示链接的指针(一只手) move ...
分类:Web程序   时间:2014-05-15 05:32:35    阅读次数:1537
source insight实用技巧
1 sourceinsight screen font 的默认字体是Verdana的,它是一直变宽字体。在Document style中可以将字体改为定宽的Courier 2   document options->auto indent 去掉indent Open Brace和Indent Close Brace的效果: 继上一段,在相对缩进行里, 如果输入"{"或"}", 则自动和上一行...
分类:其他好文   时间:2014-05-15 04:33:36    阅读次数:330
php Cannot modify header information 和 Cannot send session cache limiter
在php开发中遇到两个问题 (1)Cannot send session cache limiter        解决方式  找到 php.ini        修改php.ini中的 session.auto_start = 0 为 session.auto_start = 1 (2)Cannot modify header information    解决方式  找...
分类:Web程序   时间:2014-05-14 14:28:55    阅读次数:396
CSS定义网页滚动条
(一)滚动条样式主要涉及到如下CSS属性:overflow属性: 检索或设置当对象的内容超过其指定高度及宽度时如何显示内容overflow: auto; 在需要时内容会自动添加滚动条overflow: scroll; 总是显示滚动条overflow-x: hidden; 禁止横向的滚动条overfl...
分类:Web程序   时间:2014-05-14 09:39:30    阅读次数:325
Android(3)
1.电话拨号器: activity_main.xml <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" a...
分类:移动开发   时间:2014-05-13 15:08:57    阅读次数:508
杂文---总结几天学的东西
一、Gallery学习、看懂Logcat的提示信息看实际错误的第一句,像这句错误提示:android.widget.Gallery$LayoutParams,可以看出与Gallery有关的布局参数可能出错了,所以你定位错误的大致方向就有啦,你可以按照“Gallery”和“Layout”这两个字眼来查找在代码中出现的位置,这..
分类:其他好文   时间:2014-05-13 12:33:10    阅读次数:352
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!