解决方案 »
- 我已经下载了主线源代码了,怎么从git仓库中拿出其它版式本的代码?
- 同过usb方式同步pc端和android端数据
- 请教一个google map 拖拽事件的问题
- android中如何用opengl实现图中网格功能
- camera在preview的时候黑屏
- 关于andriod sdk 编译
- 在自己的程序中获取当前正在显示的Activity怎么做?我的是一个类。
- Android数据库写入出错
- APK获取ROOT权限后,无法运行uiautomator Jar包
- 在代码中如果子线程崩溃,如何让主线程不受影响
- ScheduledThreadPoolExecutor 线程池的问题
- [求教]怎样为Android Library项目打包
canvas.drawColor(Color.WHITE);
Paint paint = new Paint();
paint.setAntiAlias(true);
paint.setStyle(Style.FILL);
paint.setColor(Color.BLUE);
RectF re = new RectF(90, 300, 400, 400);
android.graphics.Matrix matrix = new android.graphics.Matrix();
matrix.postRotate(30,90,300);
canvas.setMatrix(matrix);
canvas.drawOval(re, paint);