1.attr.xml 2.在构造方法中使用public MyView(Context context,AttributeSet attrs){ super(context,attrs); mPaint = new Paint(... Read More
posted @ 2014-05-08 17:16 等风来。。 Views(238) Comments(0) Diggs(0) Edit
Consider a simple function that adds the first N integers. (e.g.sum(5) = 1 + 2 + 3 + 4 + 5 = 15).Here is a simple Python implementation that uses recu... Read More
posted @ 2014-05-08 11:20 等风来。。 Views(245) Comments(0) Diggs(0) Edit
1.the use of functions in table fields is a key ingredient for some advanceduses of Lua, such as modules and object-oriented programming. Read More
posted @ 2014-05-08 09:57 等风来。。 Views(144) Comments(2) Diggs(0) Edit
------------------------------------------------------------------------------------------------------------ --------------- 欢迎联系 x.guan.ling@gmail.com--------------- ------------------------------------------------------------------------------------------------------------