Android 用Canvas 畫幾何圖形,畫出小黃人

看了大神 JR93的這篇文章:純CSS3畫出小黃人并實(shí)現(xiàn)動(dòng)畫效果 ,萌生了我在安卓上畫小黃人的想法,同時(shí)他在文章中的步驟分解,在我的具體實(shí)現(xiàn)中起到了很大的幫助。話不多說(shuō),先上效果圖

實(shí)現(xiàn)步驟

其實(shí)很簡(jiǎn)單

  1. 首先找到一張小黃人的圖
  • 然后調(diào)用canvas.drawBitmap()后畫到畫布上 - -。
    好吧,一點(diǎn)都不好笑

正文

準(zhǔn)備工作

自定義MinionView extends View,定義以下成員變量,備用(可以先不看,后面的代碼看到莫名其妙出來(lái)的變量再上來(lái)看下)

    private Paint mPaint;
    private float bodyWidth;
    private float bodyHeigh;
    private static final float BODY_SCALE = 0.6f;//身體主干占整個(gè)view的比重
    private static final float BODY_WIDTH_HEIGHT_SCALE = 0.6f; //        身體的比例設(shè)定為 w:h = 3:5

    private float mStrokeWidth = 4;//描邊寬度
    private float offset;//計(jì)算時(shí),部分需要 考慮描邊偏移
    private float radius;//身體上下半圓的半徑
    private int colorClothes = Color.rgb(32, 116, 160);//衣服的顏色
    private int colorBody = Color.rgb(249, 217, 70);//身體的顏色
    private int colorStroke = Color.BLACK;
    private RectF bodyRect;
    private float handsHeight;//計(jì)算出吊帶的高度時(shí),可以用來(lái)做手的高度
    private float footHeigh;//腳的高度,用來(lái)畫腳部陰影時(shí)用

初始化參數(shù)

重寫protected void onDraw(Canvas canvas)方法,首先調(diào)用 如下 (會(huì)經(jīng)常看到一些奇怪的數(shù)字,做比例,別問(wèn)我怎么來(lái)的,目測(cè)+一點(diǎn)點(diǎn)微調(diào)得來(lái)的- -。)

    private void initParams() {
        bodyWidth = Math.min(getWidth(), getHeight() * BODY_WIDTH_HEIGHT_SCALE) * BODY_SCALE;
        bodyHeigh = Math.min(getWidth(), getHeight() * BODY_WIDTH_HEIGHT_SCALE) / BODY_WIDTH_HEIGHT_SCALE * BODY_SCALE;

        mStrokeWidth = Math.max(bodyWidth / 50, mStrokeWidth);
        offset = mStrokeWidth / 2;

        bodyRect = new RectF();
        bodyRect.left = (getWidth() - bodyWidth) / 2;
        bodyRect.top = (getHeight() - bodyHeigh) / 2;
        bodyRect.right = bodyRect.left + bodyWidth;
        bodyRect.bottom = bodyRect.top + bodyHeigh;

        radius = bodyWidth / 2;
        footHeigh = radius * 0.4333f;

        handsHeight =  (getHeight() + bodyHeigh) / 2   + offset - radius * 1.65f ;
    }

畫身體

我來(lái)組成身體

顯然身體是一個(gè)矩形加上,上下半圓,這邊只要用一個(gè)圓角矩形,然后圓角的弧度半徑用身體寬度的一半就可以達(dá)到這個(gè)效果了。
把身體的矩形外存起來(lái),后面經(jīng)常要用到其相對(duì)位置進(jìn)行對(duì)其它部位的定位,代碼如下。

    drawBody(canvas);//身體
    drawBodyStroke(canvas);//最后畫身體的描邊,可以摭住一些過(guò)渡的棱角

    private void drawBody(Canvas canvas) {
        initPaint();
        mPaint.setColor(colorBody);
        mPaint.setStyle(Paint.Style.FILL);
        canvas.drawRoundRect(bodyRect, radius, radius, mPaint);

    }
    
     private void drawBodyStroke(Canvas canvas) {
        initPaint();
        mPaint.setColor(colorStroke);
        mPaint.setStrokeWidth(mStrokeWidth);
        mPaint.setStyle(Paint.Style.STROKE);
        canvas.drawRoundRect(bodyRect, radius, radius, mPaint);
    }

畫衣服

這是穿上褲子的樣子
  • 首先先畫上底下的半圓

        RectF rect = new RectF();

        rect.left = (getWidth() - bodyWidth) / 2 + offset;
        rect.top = (getHeight() + bodyHeigh) / 2 - radius * 2 + offset;
        rect.right = rect.left + bodyWidth - offset * 2;
        rect.bottom = rect.top + radius * 2 - offset * 2;

        mPaint.setColor(colorClothes);
        mPaint.setStyle(Paint.Style.FILL);
        mPaint.setStrokeWidth(mStrokeWidth);
        canvas.drawArc(rect, 0, 180, true, mPaint);
  • 再畫半圓上方的矩形,w表示矩形離左邊身體的距離,h矩形的高
        int h = (int) (radius * 0.5);
        int w = (int) (radius * 0.3);

        rect.left += w;
        rect.top = rect.top + radius - h;
        rect.right -= w;
        rect.bottom = rect.top + h;

        canvas.drawRect(rect, mPaint);
  • 上面的畫完之后,要在衣服上面描一層黑色的邊,用canvas.drawLines把線一條條畫出來(lái)吧,這邊要同時(shí)考慮畫筆的描邊寬度,否則會(huì)出現(xiàn)連接點(diǎn)有鋸齒的感覺(jué)。

        //畫橫線
        initPaint();
        mPaint.setColor(colorStroke);
        mPaint.setStyle(Paint.Style.FILL);
        mPaint.setStrokeWidth(mStrokeWidth);
        float[] pts = new float[20];//5條線

        pts[0] = rect.left - w;
        pts[1] = rect.top + h;
        pts[2] = pts[0] + w;
        pts[3] = pts[1];

        pts[4] = pts[2];
        pts[5] = pts[3] + offset;
        pts[6] = pts[4];
        pts[7] = pts[3] - h;

        pts[8] = pts[6] - offset;
        pts[9] = pts[7];
        pts[10] = pts[8] + (radius - w) * 2;
        pts[11] = pts[9];

        pts[12] = pts[10];
        pts[13] = pts[11] - offset;
        pts[14] = pts[12];
        pts[15] = pts[13] + h;

        pts[16] = pts[14] - offset;
        pts[17] = pts[15];
        pts[18] = pts[16] + w;
        pts[19] = pts[17];
        canvas.drawLines(pts, mPaint);
  • 畫吊帶 就是一個(gè)直角梯形,把梯形的四個(gè)頂點(diǎn)計(jì)算出來(lái),使用canvas.drawPath將其畫上去,然后紐扣用一個(gè)實(shí)心的小圓表示
       //畫左吊帶
        initPaint();
        mPaint.setColor(colorClothes);
        mPaint.setStrokeWidth(mStrokeWidth);
        mPaint.setStyle(Paint.Style.FILL);
        Path path = new Path();
        path.moveTo(rect.left - w - offset, handsHeight);
        path.lineTo(rect.left + h / 4, rect.top + h / 2);
        final float smallW = w / 2 * (float) Math.sin(Math.PI / 4);
        path.lineTo(rect.left + h / 4 + smallW, rect.top + h / 2 - smallW);
        final float smallW2 = w / (float) Math.sin(Math.PI / 4) / 2;
        path.lineTo(rect.left - w - offset, handsHeight - smallW2);

        canvas.drawPath(path, mPaint);
        initPaint();
        mPaint.setColor(colorStroke);
        mPaint.setStrokeWidth(mStrokeWidth);
        mPaint.setStyle(Paint.Style.STROKE);
        canvas.drawPath(path, mPaint);
        initPaint();
        mPaint.setStyle(Paint.Style.FILL_AND_STROKE);
        canvas.drawCircle(rect.left + h / 4, rect.top + h / 4, mStrokeWidth, mPaint);

        //畫右吊帶

        initPaint();
        mPaint.setColor(colorClothes);
        mPaint.setStrokeWidth(mStrokeWidth);
        mPaint.setStyle(Paint.Style.FILL);
        path.reset();
        path.moveTo(rect.left - w + 2 * radius - offset, handsHeight);
        path.lineTo(rect.right - h / 4, rect.top + h / 2);
        path.lineTo(rect.right - h / 4 - smallW, rect.top + h / 2 - smallW);
        path.lineTo(rect.left - w + 2 * radius - offset, handsHeight- smallW2);

        canvas.drawPath(path, mPaint);
        initPaint();
        mPaint.setColor(colorStroke);
        mPaint.setStrokeWidth(mStrokeWidth);
        mPaint.setStyle(Paint.Style.STROKE);
        canvas.drawPath(path, mPaint);
        initPaint();
        mPaint.setStyle(Paint.Style.FILL_AND_STROKE);
        canvas.drawCircle(rect.right - h / 4, rect.top + h / 4, mStrokeWidth, mPaint);
  • 畫中間的口袋 是一個(gè)下面兩邊是圓角的圓角矩形,但是貌似不能直接畫這樣的圓角矩形,所以我就用土辦法,不就是一個(gè)多邊形嗎,用canvas.drawPath來(lái)畫,在圓角的地方添加圓弧過(guò)渡path.addArc
       //中間口袋
        initPaint();
        mPaint.setColor(colorStroke);
        mPaint.setStrokeWidth(mStrokeWidth);
        mPaint.setStyle(Paint.Style.STROKE);

        path.reset();
        float radiusBigPokect = w / 2.0f;
        path.moveTo(rect.left + 1.5f * w, rect.bottom - h / 4);
        path.lineTo(rect.right - 1.5f * w, rect.bottom - h / 4);
        path.lineTo(rect.right - 1.5f * w, rect.bottom + h / 4);
        path.addArc(rect.right - 1.5f * w - radiusBigPokect * 2, rect.bottom + h / 4 - radiusBigPokect,
                rect.right - 1.5f * w, rect.bottom + h / 4 + radiusBigPokect, 0, 90);
        path.lineTo(rect.left + 1.5f * w + radiusBigPokect, rect.bottom + h / 4 + radiusBigPokect);

        path.addArc(rect.left + 1.5f * w, rect.bottom + h / 4 - radiusBigPokect,
                rect.left + 1.5f * w + 2 * radiusBigPokect, rect.bottom + h / 4 + radiusBigPokect, 90, 90);
        path.lineTo(rect.left + 1.5f * w, rect.bottom - h / 4 - offset);
        canvas.drawPath(path, mPaint);
  • 左右兩個(gè)小口袋也直接用一個(gè)小弧來(lái)解決掉
     //        下邊一豎,分開褲子
        canvas.drawLine(bodyRect.left + bodyWidth / 2, bodyRect.bottom - h * 0.8f, bodyRect.left + bodyWidth / 2, bodyRect.bottom, mPaint);
//      左邊的小口袋
        float radiusSamllPokect = w * 1.2f;
        canvas.drawArc(bodyRect.left - radiusSamllPokect, bodyRect.bottom - radius - radiusSamllPokect,
                bodyRect.left + radiusSamllPokect, bodyRect.bottom - radius + radiusSamllPokect, 80, -60, false, mPaint);
//      右邊小口袋
        canvas.drawArc(bodyRect.right - radiusSamllPokect, bodyRect.bottom - radius - radiusSamllPokect,
                bodyRect.right + radiusSamllPokect, bodyRect.bottom - radius + radiusSamllPokect, 100, 60, false, mPaint);
//        canvas.drawArc(left + w/5,);
  • 嗯,衣服畫完了。
    drawClothes(canvas);//衣服

    private void drawClothes(Canvas canvas) {
        initPaint();
        //就是上面那一堆代碼按順序合起來(lái)啦。。。。。
    }

畫腳

萌萌的小短腿

腳這部分比較簡(jiǎn)單,從身體的下方,一個(gè)豎直的矩形下來(lái),再加上一個(gè)左邊圓角的圓角矩形,還是通過(guò)畫Path來(lái)實(shí)現(xiàn)。

        drawFeet(canvas);//腳

    private void drawFeet(Canvas canvas) {
        mPaint.setStrokeWidth(mStrokeWidth);
        mPaint.setColor(colorStroke);
        mPaint.setStyle(Paint.Style.FILL_AND_STROKE);

        float radiusFoot = radius / 3 * 0.4f;
        float leftFootStartX = bodyRect.left + radius - offset * 2;
        float leftFootStartY = bodyRect.bottom - offset;
        float footWidthA = radius * 0.5f;//腳寬度大-到半圓結(jié)束
        float footWidthB = footWidthA / 3;//腳寬度-比較細(xì)的部分

        //      左腳
        Path path = new Path();
        path.moveTo(leftFootStartX, leftFootStartY);
        path.lineTo(leftFootStartX, leftFootStartY + footHeigh);
        path.lineTo(leftFootStartX - footWidthA + radiusFoot, leftFootStartY + footHeigh);

        RectF rectF = new RectF();
        rectF.left = leftFootStartX - footWidthA;
        rectF.top = leftFootStartY + footHeigh - radiusFoot * 2;
        rectF.right = rectF.left + radiusFoot * 2;
        rectF.bottom = rectF.top + radiusFoot * 2;
        path.addArc(rectF, 90, 180);
        path.lineTo(rectF.left + radiusFoot + footWidthB, rectF.top);
        path.lineTo(rectF.left + radiusFoot + footWidthB, leftFootStartY);
        path.lineTo(leftFootStartX, leftFootStartY);
        canvas.drawPath(path, mPaint);

//      右腳
        float rightFootStartX = bodyRect.left + radius + offset * 2;
        float rightFootStartY = leftFootStartY;
        path.reset();
        path.moveTo(rightFootStartX, rightFootStartY);
        path.lineTo(rightFootStartX, rightFootStartY + footHeigh);
        path.lineTo(rightFootStartX + footWidthA - radiusFoot, rightFootStartY + footHeigh);

        rectF.left = rightFootStartX + footWidthA - radiusFoot * 2;
        rectF.top = rightFootStartY + footHeigh - radiusFoot * 2;
        rectF.right = rectF.left + radiusFoot * 2;
        rectF.bottom = rectF.top + radiusFoot * 2;
        path.addArc(rectF, 90, -180);
        path.lineTo(rectF.right - radiusFoot - footWidthB, rectF.top);
        path.lineTo(rectF.right - radiusFoot - footWidthB, rightFootStartY);
        path.lineTo(rightFootStartX, rightFootStartY);
        canvas.drawPath(path, mPaint);


    }

畫手

這里是雙手放在后背的樣子

手我用的是一個(gè)等腰直角三角形來(lái)實(shí)現(xiàn),斜邊就是吊帶到褲子,從直角頂點(diǎn)作高到斜邊,通過(guò)小直角三角形的直角邊相等就可以算出頂點(diǎn)的坐標(biāo)。這個(gè)時(shí)候還是有個(gè)圓角,剛開始我實(shí)現(xiàn)的時(shí)候是像上面那些通過(guò)path.addArc加上圓角,但是這邊計(jì)算好之后和原來(lái)的銜接一直有問(wèn)題,在調(diào)了半天之后,偶然發(fā)現(xiàn)mPaint.setPathEffect(new CornerPathEffect(radiusHand));這個(gè)方法,可以使path的拐角用圓角來(lái)過(guò)渡,一下子就簡(jiǎn)單到爆了,果然科學(xué)技術(shù)是第一生產(chǎn)力。

        drawHands(canvas);//手

    private void drawHands(Canvas canvas) {
        mPaint.setStrokeWidth(mStrokeWidth);
        mPaint.setStyle(Paint.Style.FILL);
        mPaint.setColor(colorBody);

//        左手
        Path path = new Path();
        float hypotenuse = bodyRect.bottom - radius - handsHeight;
        float radiusHand = hypotenuse / 6;
        mPaint.setPathEffect(new CornerPathEffect(radiusHand));

        path.moveTo(bodyRect.left, handsHeight);
        path.lineTo(bodyRect.left - hypotenuse / 2, handsHeight + hypotenuse / 2);
        path.lineTo(bodyRect.left, bodyRect.bottom - radius);
        canvas.drawPath(path, mPaint);

        mPaint.setStrokeWidth(mStrokeWidth);
        mPaint.setStyle(Paint.Style.STROKE);
        mPaint.setColor(colorStroke);
        canvas.drawPath(path, mPaint);

//        右手
        path.reset();
        mPaint.setStyle(Paint.Style.FILL);
        mPaint.setColor(colorBody);

        path.moveTo(bodyRect.right, handsHeight);
        path.lineTo(bodyRect.right + hypotenuse / 2, handsHeight + hypotenuse / 2);
        path.lineTo(bodyRect.right, bodyRect.bottom - radius);
        canvas.drawPath(path, mPaint);

        mPaint.setStrokeWidth(mStrokeWidth);
        mPaint.setStyle(Paint.Style.STROKE);
        mPaint.setColor(colorStroke);
        canvas.drawPath(path, mPaint);

//        一個(gè)慢動(dòng)作  - -||| 拐點(diǎn)內(nèi)側(cè)
        path.reset();
        mPaint.setStyle(Paint.Style.FILL);
        path.moveTo(bodyRect.left, handsHeight + hypotenuse / 2 - mStrokeWidth);
        path.lineTo(bodyRect.left - mStrokeWidth * 2, handsHeight + hypotenuse / 2 + mStrokeWidth * 2);
        path.lineTo(bodyRect.left, handsHeight + hypotenuse / 2 + mStrokeWidth);
        canvas.drawPath(path, mPaint);

        path.reset();
        path.moveTo(bodyRect.right, handsHeight + hypotenuse / 2 - mStrokeWidth);
        path.lineTo(bodyRect.right + mStrokeWidth * 2, handsHeight + hypotenuse / 2 + mStrokeWidth * 2);
        path.lineTo(bodyRect.right, handsHeight + hypotenuse / 2 + mStrokeWidth);
        canvas.drawPath(path, mPaint);

    }

畫眼睛,嘴巴

三個(gè)字,圓圓圓

反正就是各種畫圓,或者弧形,嘴巴部分偷懶也就一條小弧一筆帶過(guò)了,哈哈

        drawEyesMouth(canvas);//眼睛,嘴巴
private void drawEyesMouth(Canvas canvas) {

        float eyesOffset = radius * 0.1f;//眼睛中心處于上半圓直徑 往上的高度偏移
        mPaint.setStrokeWidth(mStrokeWidth * 5);
//        計(jì)算眼鏡帶弧行的半徑 分兩段,以便眼睛中間有隔開的效果
        float radiusGlassesRibbon = (float) (radius / Math.sin(Math.PI / 20));
        RectF rect = new RectF();
        rect.left = bodyRect.left + radius - radiusGlassesRibbon;
        rect.top = bodyRect.top + radius - (float) (radius / Math.tan(Math.PI / 20)) - radiusGlassesRibbon - eyesOffset;
        rect.right = rect.left + radiusGlassesRibbon * 2;
        rect.bottom = rect.top + radiusGlassesRibbon * 2;
        canvas.drawArc(rect, 81, 3, false, mPaint);
        canvas.drawArc(rect, 99, -3, false, mPaint);

//眼睛半徑
        float radiusEyes = radius / 3;
        initPaint();
        mPaint.setColor(Color.WHITE);
        mPaint.setStrokeWidth(mStrokeWidth);
        mPaint.setStyle(Paint.Style.FILL);

        canvas.drawCircle(bodyRect.left + bodyWidth / 2 - radiusEyes - offset, bodyRect.top + radius - eyesOffset, radiusEyes, mPaint);
        canvas.drawCircle(bodyRect.left + bodyWidth / 2 + radiusEyes + offset, bodyRect.top + radius - eyesOffset, radiusEyes, mPaint);

        mPaint.setColor(colorStroke);
        mPaint.setStyle(Paint.Style.STROKE);
        canvas.drawCircle(bodyRect.left + bodyWidth / 2 - radiusEyes - offset, bodyRect.top + radius - eyesOffset, radiusEyes, mPaint);
        canvas.drawCircle(bodyRect.left + bodyWidth / 2 + radiusEyes + offset, bodyRect.top + radius - eyesOffset, radiusEyes, mPaint);

        final float radiusEyeballBlack = radiusEyes / 3;
        mPaint.setStyle(Paint.Style.FILL);
        canvas.drawCircle(bodyRect.left + bodyWidth / 2 - radiusEyes - offset, bodyRect.top + radius - eyesOffset, radiusEyeballBlack, mPaint);
        canvas.drawCircle(bodyRect.left + bodyWidth / 2 + radiusEyes + offset, bodyRect.top + radius - eyesOffset, radiusEyeballBlack, mPaint);

        mPaint.setColor(Color.WHITE);
        final float radiusEyeballWhite = radiusEyeballBlack / 2;
        canvas.drawCircle(bodyRect.left + bodyWidth / 2 - radiusEyes + radiusEyeballWhite - offset * 2,
                bodyRect.top + radius - radiusEyeballWhite + offset - eyesOffset,
                radiusEyeballWhite, mPaint);
        canvas.drawCircle(bodyRect.left + bodyWidth / 2 + radiusEyes + radiusEyeballWhite,
                bodyRect.top + radius - radiusEyeballWhite + offset - eyesOffset,
                radiusEyeballWhite, mPaint);

//        畫嘴巴,因?yàn)槲恢煤脱劬τ邢鄬?duì)關(guān)系,所以寫在一塊
        mPaint.setColor(colorStroke);
        mPaint.setStyle(Paint.Style.STROKE);
        mPaint.setStrokeWidth(mStrokeWidth);
        float radiusMonth = radius;
        rect.left = bodyRect.left;
        rect.top = bodyRect.top - radiusMonth / 2.5f;
        rect.right = rect.left + radiusMonth * 2;
        rect.bottom = rect.top + radiusMonth * 2;
        canvas.drawArc(rect, 95, -20, false, mPaint);

    }

腳下的陰影

這是最后一步了,直接畫一個(gè)非常扁的橢圓放在腳下面就可以了

不科學(xué)啊,長(zhǎng)這么胖,為毛影子這么瘦(別在意這些細(xì)節(jié))
        drawFeetShadow(canvas);//腳下的陰影

    private void drawFeetShadow(Canvas canvas) {

        mPaint.setColor(getResources().getColor(android.R.color.darker_gray));
        canvas.drawOval(bodyRect.left + bodyWidth * 0.15f, bodyRect.bottom - offset + footHeigh,
                bodyRect.right - bodyWidth * 0.15f, bodyRect.bottom - offset + footHeigh + mStrokeWidth * 1.3f, mPaint);
    }

onDraw方法,依次調(diào)用上述的各種方法,畫完收工。



    @Override
    protected void onDraw(Canvas canvas) {
        initParams();
        initPaint();
        drawFeetShadow(canvas);//腳下的陰影
        drawFeet(canvas);//腳
        drawHands(canvas);//手
        drawBody(canvas);//身體
        drawClothes(canvas);//衣服
        drawEyesMouth(canvas);//眼睛,嘴巴
        drawBodyStroke(canvas);//最后畫身體的描邊,可以摭住一些過(guò)渡的棱角
    }

畫完了,好像少了點(diǎn)什么。。。。。對(duì)了,頭發(fā)。好吧,我畫的是程序猿,哪來(lái)的頭發(fā) - -,


至此,正常畫風(fēng)的小黃人已經(jīng)畫完了,但是吧,好不容易畫好,好像沒(méi)啥意思,腦洞大開一下吧。
電影中的小黃人中病毒后是會(huì)變成紫色的,那我們用代碼畫,換個(gè)顏色還不是分分鐘,不但要紫色,還要各種顏色。

三行代碼搞定腦洞

    public void randomBodyColor() {
        Random random = new Random();
        colorBody = Color.rgb(random.nextInt(255), random.nextInt(255), random.nextInt(255));
        invalidate();
    }

然后效果就變成了這樣。

看起來(lái)還有點(diǎn)小酷炫

希望大家喜歡 ,上述有任何問(wèn)題或者表述不清楚的,歡迎評(píng)論交流。
完整源碼 github

最后編輯于
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請(qǐng)聯(lián)系作者
平臺(tái)聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點(diǎn),簡(jiǎn)書系信息發(fā)布平臺(tái),僅提供信息存儲(chǔ)服務(wù)。

推薦閱讀更多精彩內(nèi)容

  • 版權(quán)聲明:本文為博主原創(chuàng)文章,未經(jīng)博主允許不得轉(zhuǎn)載 前言 Canvas 本意是畫布的意思,然而將它理解為繪制工具一...
    cc榮宣閱讀 41,643評(píng)論 1 47
  • 系列文章之 Android中自定義View(一)系列文章之 Android中自定義View(二)系列文章之 And...
    YoungerDev閱讀 4,474評(píng)論 3 11
  • 前言: 在接觸Android這么長(zhǎng)時(shí)間,看到很多大牛都在和大家分享自己的知識(shí),深有體會(huì),剛好前段時(shí)間寫了一個(gè)Dem...
    楊艷偉閱讀 1,308評(píng)論 0 5
  • 請(qǐng)善待你的影子 他總會(huì)朝夕伴你 最親的人莫過(guò)于父母 可終有一天也要離你而去 時(shí)間拉著他們,遠(yuǎn)你而去 前一秒他對(duì)你說(shuō)...
    BORNALONE閱讀 360評(píng)論 0 0
  • kaka醬閱讀 169評(píng)論 0 0