如何在 Android 中创建自己的 View
2010-03-31 17:26:00 来源:WEB开发网核心提示:Paint(Paint.ANTI_ALIAS_FLAG);15tPaint.setStyle(Paint.Style.FILL_AND_STROKE);16tPaint.setColor(Color.WHITE);17tPaint.setTextSize(20f);18 19setBackgroundColor(get
Paint(Paint.ANTI_ALIAS_FLAG);
15 |
tPaint.setStyle(Paint.Style.FILL_AND_STROKE); |
16 |
tPaint.setColor(Color.WHITE); |
17 |
tPaint.setTextSize(20f); |
18 |
19 |
setBackgroundColor(getResources().getColor(R.color.background)); |
20 |
21 |
mGestureDetector = new
GestureDetector( |
更多精彩
赞助商链接