摘要:
Service 是Android 的一种组件,跟线程无关。Service 分两种启动方式 startService()和bindService()两种都需要在Androidmanifest.xml配置两种Intent均可以使用Intent intent= new Intent("com.itg.do... 阅读全文
摘要:
newRect(left, top, right, bottom)这个构造方法需要四个参数这四个参数指明了什么位置?我们就来解释怎么画这个矩形这四个参数分别代表的意思是:left top right bottom上下左右呗。啊,不是是左上右下。下面给大家解释left:矩形左边的X坐标150 ----... 阅读全文