android發光
Ⅰ 有沒有人知道,android字體外發光的效果是如何實現的
字體高亮:SpannableStringBuilder style=new SpannableStringBuilder(string); style.setSpan(new ForegroundColorSpan(Color.RED,start,end,Spannable.SPAN_EX_...)); textView.setText(style);
Ⅱ android 關於畫筆的線條發光
問題:android 關於畫筆的線條發光?
回答:直接上代碼
祝你成功!
this.setBackgroundColor(Color.BLACK);
Paint myPaint = new Paint();
//畫矩形
myPaint.setColor(Color.BLUE);
canvas.drawRect(100, 100, 200, 300, myPaint);
BlurMaskFilter maskFilter = new BlurMaskFilter(10, BlurMaskFilter.Blur.SOLID);
myPaint.setMaskFilter(maskFilter);
//畫出一根線
myPaint.setColor(Color.WHITE);
myPaint.setStrokeWidth(10);
canvas.drawLine(50, 250, 300, 100, myPaint);
super.onDraw(canvas);
Ⅲ 這種 ANDROID邊界效果怎麼做的.發光或者叫陰影
邊界(分割線)可以插入一個imageview 設置background 的顏色為黑色,高度為1dp。至於陰影就是圖片,這個得讓你們的美工來做。
Ⅳ 安卓手機發光壁紙怎麼設置
按住桌面空白處~壁紙里下載後選擇使用。