码迷,mamicode.com
首页 >  
搜索关键字:width    ( 32014个结果
android:hint属性对TextView的影响
最近看到同事写的一段代码,很简单吧就是: <LinearLayout android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_centerVertical="true" android:orientation...
分类:移动开发   时间:2015-06-24 11:01:00    阅读次数:122
第十四章,通过Intent打开其他软件(Android)
activity_main.xml <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layou...
分类:移动开发   时间:2015-06-23 21:43:43    阅读次数:178
去除inline-block元素间间隙的方法
对于inline-block元素,如几个设置为display:inline-block的span元素,在ie6、7中显示无间隙,在其他ie版本和高级浏览器中显示有间隙。 span{ width: 50px; height: 50px; border: 1px sol...
分类:其他好文   时间:2015-06-23 21:29:54    阅读次数:202
svg学习系列02-简单的svg图形和线条
矩形 1、x:定义矩形左上角的点的x坐标2、y:定义矩形左上角的点的y坐标3、rx:定义矩形四个角的x方向圆角半径4、ry:定义矩形四个角的y方向圆角半径5、width:定义矩形的宽度6、height:定义矩形的高度圆形 1、cx:圆心x坐标2、cy:圆心y坐标3、r:圆的半径椭...
分类:其他好文   时间:2015-06-23 19:32:35    阅读次数:100
Android存储数据到本地文件
xml文件<LinearLayoutxmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical" android:padding="5dp" &g..
分类:移动开发   时间:2015-06-23 18:12:19    阅读次数:144
iOS view的frame和bounds之区别(位置和大小)
一、首先列一下公认的资料:先看到下面的代码你肯定就明白了一些:123456-(CGRect)frame{returnCGRectMake(self.frame.origin.x,self.frame.origin.y,self.frame.size.width,self.frame.size.hei...
分类:移动开发   时间:2015-06-23 15:22:10    阅读次数:123
Android中Spinner的使用
本博文介绍了基本的Spinner的使用方法首先写一下xml中的代码部分<Spinner android:id="@+id/myspinner" android:layout_width="fill_parent" android:layout_height="wrap_content" />再写一下Strings.xml中的文件部分<string-array name="tongxue" > <ite..
分类:移动开发   时间:2015-06-23 13:45:51    阅读次数:182
show,hide与fadeIn、fadeOu的区别
show,hide——>是通过改变height,width,opacity来实现动画的显示与隐藏的fadeIn、fadeOut——>只通过opacity来实现动画的显示与隐藏的它们两个在动画显示与隐藏完后都会设置disply:none或displya:block。
分类:其他好文   时间:2015-06-23 11:51:26    阅读次数:189
CSS width:100%和width:auto的区别
width:100%和width:auto的区别width:auto比较聪明,如果margin已经左右占去10px的空间,那么width给的值就是580px。 123如果是width:100%,则说明p的width会得到600px就已经充满div区域,然后自己又有margin,所以会出现滚动条...
分类:Web程序   时间:2015-06-22 17:53:20    阅读次数:133
20150621层叠轮播图
html================css=================*{ margin: 0;padding: 0;}#box1{z-index: 1;position: absolute;width: 240px;height: 160px;left: 0px;top: 48px;ba...
分类:其他好文   时间:2015-06-21 20:59:24    阅读次数:114
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!