上篇说到通过result.class.php来分流,因为三个类都继承了shape这个类,让我们来看一下,面向对象中的继承。shape.class.shape文件'.$message.'必须为非负值的数>字,而且不能为空'; return false...
分类:
Web程序 时间:
2014-07-27 10:20:12
阅读次数:
234
Private Sub Worksheet_Change(ByVal Target As Range)Dim srg As Range, x As ShapeIf Target.Count = Target.EntireRow.Cells.Count Then For Each x In Shape...
分类:
其他好文 时间:
2014-07-25 03:50:35
阅读次数:
237
shape用于设定形状,可以在selector,layout等里面使用,有6个子标签,各属性如下: 1 2 3 4 5 11 12 13 23 24 25 30 31 32 35 36 ...
分类:
移动开发 时间:
2014-07-22 00:19:34
阅读次数:
198
本文来自:http://blog.csdn.net/brokge/article/details/9713041简介:作用:XML中定义的几何形状位置:res/drawable/文件的名称.xml使用的方法:Java代码中:R.drawable.文件的名称XML中:Android:backgroun...
分类:
其他好文 时间:
2014-07-20 10:04:55
阅读次数:
190
Android里面经常会使用shape来定制一些View的背景
可以修改View的背景颜色,形状等属性
一般情况下,shape都是在xml文件里面写死了,今天遇到一个需求,View的形状是圆角的,但是颜色是在代码里面设置的
最开始的思路是先在代码里给View设置颜色,再在shape里面设置solid属性为透明色
<corners
android:topL...
分类:
其他好文 时间:
2014-07-19 23:37:30
阅读次数:
448
这里涉及到shape的运用,这仅仅是一个实例circle.xml ...
分类:
其他好文 时间:
2014-07-19 22:24:11
阅读次数:
215
1、不要使用绝对布局2、尽量使用match_parent而不是fill_parent。3、能够使用权重的地方尽量使用权重(android:layout_weight)4、如果是纯色背景,尽量使用android的shape自定义。5、如果需要在特定分辨率下适配,可以在res目录上新建layout-Hx...
分类:
其他好文 时间:
2014-07-18 15:02:25
阅读次数:
262
>>> aarray([[1, 2], [3, 4]])>>> a.shape(2, 2)>>> barray([2, 3])>>> b.shape(2,)>>> carray([[1], [2]])>>> c.shape(2, 1)>>> darray([[1, 2]])>...
分类:
其他好文 时间:
2014-07-16 15:03:09
阅读次数:
198
Fence RailsBurch, Kolstad, and SchrijversFarmer John is trying to erect a fence around part of his field. He has decided on the shape of the fence and...
分类:
其他好文 时间:
2014-07-16 00:08:30
阅读次数:
367