上一页 1 ··· 32 33 34 35 36 37 38 39 40 ··· 55 下一页
onFling will get executed when a user makes a "fling" motion, and said motion has a velocity with it to determine the type of fling it was. However,... Read More
posted @ 2014-05-23 16:35 等风来。。 Views(410) Comments(0) Diggs(0) Edit
1.IPC解决方案 而非 序列化机制 Container for a message (data and object references) that can be sent through an IBinder. A Parcel can contain both flatteneddata ... Read More
posted @ 2014-05-22 18:16 等风来。。 Views(1549) Comments(0) Diggs(1) Edit
Contains methods to standard constants used in the UI for timeouts, sizes, and distances.一。几个常用的方法返回初始化滑动的最大速度值和最小速度值,以像素/秒为单位getScaledMinimumFlingVel... Read More
posted @ 2014-05-21 18:35 等风来。。 Views(879) Comments(0) Diggs(0) Edit
TouchDelegate(Rect bounds, View delegateView)Parameters:bounds Bounds in local coordinates of the containing view that should be mapped to the delegat... Read More
posted @ 2014-05-21 16:35 等风来。。 Views(287) Comments(0) Diggs(0) Edit
There is no real difference, except that theView.postis helpful when you don't have a direct access to the activity. public boolean post(Runnable a... Read More
posted @ 2014-05-21 16:25 等风来。。 Views(296) Comments(0) Diggs(0) Edit
A MeasureSpec encapsulates the layout requirements passed from parent to child. Each MeasureSpec represents a requirementfor either the width or the h... Read More
posted @ 2014-05-18 18:28 等风来。。 Views(1299) Comments(0) Diggs(0) Edit
He is worth no weal that can bide no woe.禁不起吃苦的人不配得到幸福有句谚语叫No weal without woe 福兮祸所伏 ; 祸兮福所倚weal和woe是一对反义词 很像no pain no gain1.be worth sth..=deserve s... Read More
posted @ 2014-05-16 15:28 等风来。。 Views(366) Comments(0) Diggs(0) Edit
public voidoverridePendingTransition(int enterAnim, int exitAnim) Call immediately after one of the flavors ofstartActivity(Intent)orfinish()to speci... Read More
posted @ 2014-05-16 14:48 等风来。。 Views(269) Comments(0) Diggs(0) Edit
当用户触摸屏幕的时候,会产生许多手势,例如down,up,scroll,filing等等,我们知道View类有个View.OnTouchListener接口,通过重写他的onTouch(Viewv,MotionEventevent)方法,我们可以处理一些touch事件,但是这个方法太过简单,如果... Read More
posted @ 2014-05-16 14:28 等风来。。 Views(155) Comments(0) Diggs(0) Edit
/** * Schedule a countdown until a time in the future, with regular notifications on intervals along the way. * * Example of showing a 30 second count... Read More
posted @ 2014-05-15 10:33 等风来。。 Views(204) Comments(0) Diggs(0) Edit
上一页 1 ··· 32 33 34 35 36 37 38 39 40 ··· 55 下一页
------------------------------------------------------------------------------------------------------------ --------------- 欢迎联系 x.guan.ling@gmail.com--------------- ------------------------------------------------------------------------------------------------------------