类似油表表盘的显示 SpeedView
- 授权协议: Apache
- 开发语言: Java
- 操作系统: Android
- 软件首页: https://github.com/anastr/SpeedView
- 软件文档: https://github.com/anastr/SpeedView/blob/master/README.md
- 官方下载: https://github.com/anastr/SpeedView/archive/master.zip
软件介绍
SpeedView,Android端的类似油表表盘的显示。效果很惊人,功能强大而且有多种外形。你可以更改任何东西的颜色。
运行效果:
示例代码:
添加SpeedView到你的布局文件
<com.github.anastr.speedviewlib.SpeedView android:id="@+id/speedView" android:layout_width="250dp" android:layout_height="wrap_content" />
从代码修改speed
SpeedView speedView = (SpeedView) findViewById(R.id.speedView); // change speed to 50 Km/h speedView.speedTo(50);
通过这行代码设置最大速度(默认是100)
speedView.setMaxSpeed(220); /** * see also: * speedView.setWithTremble(false); * speedView.setIndicatorColor(Color.BLUE); * speedView.setHighSpeedColor(Color.RED); * ..... */
High Performance Python
Micha Gorelick、Ian Ozsvald / O'Reilly Media / 2014-9-10 / USD 39.99
If you're an experienced Python programmer, High Performance Python will guide you through the various routes of code optimization. You'll learn how to use smarter algorithms and leverage peripheral t......一起来看看 《High Performance Python》 这本书的介绍吧!
