github的header变成黑色了.
- 292
- 0
- 阅读全文
此时我是相对于整个View居中所以就谢了getWidth()/2``canvas.drawText("this is a test", getWidth() / 2, baseLineY, textPaint); Y轴居中要给予baseLine,这个baseLine的概念就是字符…
sudo update-alternatives --config java然后提示 There are 2 choices for the alternative java (providing /usr/bin/java). Selection Path Priority Status ----…
注解: code>@RestControllercode>@Controllercode>@ResponseBody``@RestControllercode>@Controllercode>@ResponseBod
mongoexport -uusername -ppasswd --host=yout_ip_address --port=27017 --authenticationDatabase admin -ddatabasename -ccollectionname -f args --type=csv …
由于给Ubuntu 分的空间太小,加上window空间也很大.故想把window的空间分给Ubuntu一份.1. 在win下打开硬盘分区管理,然后制定压缩的盘.压缩出一部分空间.然后安装gparted-live到U盘上. 到后启动到U盘中,然后resize(扩容)至硬盘+压缩出来的大小. 后续: =…
最近有个需求是要在后台播放音乐.当时就想到了Service.Service启动方式有两种 Context.startService(Intent)这种方式启动时候便理论上持久运行.启动后生命周期是onCreate,onStartCommend,onBind Context.bindService(I…