【Android自定義View實(shí)戰(zhàn)】之自定義圓形頭像CircleImageView支持加載網(wǎng)絡(luò)圖片

轉(zhuǎn)載請(qǐng)注明出處:http://blog.csdn.net/linglongxin24/article/details/52923384 【DylanAndroid的csdn博客】


在Android開發(fā)中我們常常用到圓形的頭像,如果每次加載之后再進(jìn)行圓形裁剪特別麻煩。所以在這里寫一個(gè)自定義圓形ImageView,直接去加載網(wǎng)絡(luò)圖片,這樣的話就特別的方便。

先上效果圖

這里寫圖片描述

主要的方法

1.讓自定義 CircleImageView 繼承ImageView

/**
 * 自定義圓形頭像
 * Created by Dylan on 2015/11/26 0026.
 */
public class CircleImageView extends ImageView {
}

2.在構(gòu)造方法中獲取在xml中設(shè)置的值


    public CircleImageView(Context context) {
        super(context);
    }

    public CircleImageView(Context context, AttributeSet attrs) {
        this(context, attrs, 0);
    }

    public CircleImageView(Context context, AttributeSet attrs, int defStyle) {
        super(context, attrs, defStyle);
        super.setScaleType(SCALE_TYPE);
        /**
         * 獲取在xml中聲明的屬性
         */
        TypedArray a = context.obtainStyledAttributes(attrs, R.styleable.CircleImageView, defStyle, 0);//獲取xml中的屬性

        mBorderWidth = a.getDimensionPixelSize(R.styleable.CircleImageView_border_width, DEFAULT_BORDER_WIDTH);
        mBorderColor = a.getColor(R.styleable.CircleImageView_border_color, DEFAULT_BORDER_COLOR);

        a.recycle();

        mReady = true;

        if (mSetupPending) {
            setup();
            mSetupPending = false;
        }
    }

3.初始化各種參數(shù)設(shè)置


    /**
     * 畫圓形圖的初始化工作
     */
    private void setup() {
        if (!mReady) {
            mSetupPending = true;
            return;
        }

        if (mBitmap == null) {
            return;
        }
        /**
         *調(diào)用這個(gè)方法來產(chǎn)生一個(gè)畫有一個(gè)位圖的渲染器(Shader)。
         bitmap   在渲染器內(nèi)使用的位圖
         tileX      The tiling mode for x to draw the bitmap in.   在位圖上X方向花磚模式
         tileY     The tiling mode for y to draw the bitmap in.    在位圖上Y方向花磚模式
         TileMode:(一共有三種)
         CLAMP  :如果渲染器超出原始邊界范圍,會(huì)復(fù)制范圍內(nèi)邊緣染色。
         REPEAT :橫向和縱向的重復(fù)渲染器圖片,平鋪。
         MIRROR :橫向和縱向的重復(fù)渲染器圖片,這個(gè)和REPEAT 重復(fù)方式不一樣,他是以鏡像方式平鋪。
         */
        mBitmapShader = new BitmapShader(mBitmap, Shader.TileMode.CLAMP, Shader.TileMode.CLAMP);
        /**
         * 設(shè)置畫圓形的畫筆
         */
        mBitmapPaint.setAntiAlias(true);//設(shè)置抗鋸齒
        mBitmapPaint.setShader(mBitmapShader);//繪制圖形時(shí)的圖形變換

        mBorderPaint.setStyle(Paint.Style.STROKE);
        mBorderPaint.setAntiAlias(true);
        mBorderPaint.setColor(mBorderColor);
        mBorderPaint.setStrokeWidth(mBorderWidth);

        mBitmapHeight = mBitmap.getHeight();
        mBitmapWidth = mBitmap.getWidth();
        /**
         * 設(shè)置邊框矩形的坐標(biāo)
         */
        mBorderRect.set(0, 0, getWidth(), getHeight());
        /**
         * 設(shè)置邊框圓形的半徑為圖片的寬度和高度的一半的最大值
         */
        mBorderRadius = Math.max((mBorderRect.height() - mBorderWidth) / 2, (mBorderRect.width() - mBorderWidth) / 2);
        /**
         * 設(shè)置圖片矩形的坐標(biāo)
         */
        mDrawableRect.set(mBorderWidth, mBorderWidth, mBorderRect.width() - mBorderWidth, mBorderRect.height() - mBorderWidth);
        /**
         * 設(shè)置圖片圓形的半徑為圖片的寬度和高度的一半的最大值
         */
        mDrawableRadius = Math.max(mDrawableRect.height() / 2, mDrawableRect.width() / 2);

        updateShaderMatrix();
        /**
         * 調(diào)用onDraw()方法進(jìn)行繪畫
         */
        invalidate();
    }
 /**
     * 更新位圖渲染
     */
    private void updateShaderMatrix() {
        float scale;
        float dx = 0;
        float dy = 0;
        /**
         * 重置
         */
        mShaderMatrix.set(null);
        /**
         *計(jì)算縮放比,因?yàn)槿绻麍D片的尺寸超過屏幕,那么就會(huì)自動(dòng)匹配到屏幕的尺寸去顯示。
         * 確定移動(dòng)的xy坐標(biāo)
         *
         */
        if (mBitmapWidth * mDrawableRect.height() > mDrawableRect.width() * mBitmapHeight) {
            scale = mDrawableRect.width() / (float) mBitmapWidth;
            dy = (mDrawableRect.height() - mBitmapHeight * scale) * 0.5f;
        } else {
            scale = mDrawableRect.height() / (float) mBitmapHeight;
            dx = (mDrawableRect.width() - mBitmapWidth * scale) * 0.5f;
        }

        mShaderMatrix.setScale(scale, scale);
        mShaderMatrix.postTranslate((int) (dx + 0.5f) + mBorderWidth, (int) (dy + 0.5f) + mBorderWidth);
        /**
         * 設(shè)置shader的本地矩陣
         */
        mBitmapShader.setLocalMatrix(mShaderMatrix);
    }

4.畫圓

 @Override
    protected void onDraw(Canvas canvas) {
        if (getDrawable() == null) {
            return;
        }
        /**
         * 畫圓形圖片
         */
        canvas.drawCircle(getWidth() / 2, getHeight() / 2, mDrawableRadius, mBitmapPaint);
        /**
         * 畫圓形邊框
         */
        canvas.drawCircle(getWidth() / 2, getHeight() / 2, mBorderRadius, mBorderPaint);
    }

完整代碼,有完整的注釋

1.CircleImageView 主類


import android.content.Context;
import android.content.res.TypedArray;
import android.graphics.Bitmap;
import android.graphics.BitmapShader;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Matrix;
import android.graphics.Paint;
import android.graphics.RectF;
import android.graphics.Shader;
import android.graphics.drawable.BitmapDrawable;
import android.graphics.drawable.ColorDrawable;
import android.graphics.drawable.Drawable;
import android.util.AttributeSet;
import android.widget.ImageView;

import com.kejiang.yuandl.R;
import com.kejiang.yuandl.utils.ImageSizeUtil;


/**
 * 自定義圓形頭像
 * Created by Dylan on 2015/11/26 0026.
 */
public class CircleImageView extends ImageView {
    /**
     * 圓形頭像默認(rèn),CENTER_CROP!=系統(tǒng)默認(rèn)的CENTER_CROP;
     * 將圖片等比例縮放,讓圖像的長邊邊與ImageView的邊長度相同,短邊不夠的留空白,縮放后截取圓形部分進(jìn)行顯示。
     */
    private static final ScaleType SCALE_TYPE = ScaleType.CENTER_CROP;
    /**
     * 圖片的壓縮質(zhì)量
     * ALPHA_8就是Alpha由8位組成,------ALPHA_8 代表8位Alpha位圖
     * ARGB_4444就是由4個(gè)4位組成即16位,------ARGB_4444 代表16位ARGB位圖
     * ARGB_8888就是由4個(gè)8位組成即32位,------ARGB_8888 代表32位ARGB位圖
     * RGB_565就是R為5位,G為6位,B為5位共16位,------ARGB_565 代表8位RGB位圖
     */
    private static final Bitmap.Config BITMAP_CONFIG = Bitmap.Config.ARGB_8888;
    /**
     * 默認(rèn)ColorDrawable的寬和高
     */
    private static final int COLORDRAWABLE_DIMENSION = 1;
    /**
     * 默認(rèn)邊框?qū)挾?     */
    private static final int DEFAULT_BORDER_WIDTH = 0;
    /**
     * 默認(rèn)邊框顏色
     */
    private static final int DEFAULT_BORDER_COLOR = Color.BLACK;
    /**
     * 畫圖片的矩形
     */
    private final RectF mDrawableRect = new RectF();
    /**
     * 畫邊框的矩形
     */
    private final RectF mBorderRect = new RectF();
    /**
     * 對(duì)圖片進(jìn)行縮放和移動(dòng)的矩陣
     */
    private final Matrix mShaderMatrix = new Matrix();
    /**
     * 畫圖片的畫筆
     */
    private final Paint mBitmapPaint = new Paint();
    /**
     * 畫邊框的畫筆
     */
    private final Paint mBorderPaint = new Paint();
    /**
     * 默認(rèn)邊框顏色
     */
    private int mBorderColor = DEFAULT_BORDER_COLOR;
    /**
     * 默認(rèn)邊框?qū)挾?     */
    private int mBorderWidth = DEFAULT_BORDER_WIDTH;

    private Bitmap mBitmap;
    /**
     * 產(chǎn)生一個(gè)畫有一個(gè)位圖的渲染器(Shader)
     */
    private BitmapShader mBitmapShader;
    /**
     * 圖片的實(shí)際寬度
     */
    private int mBitmapWidth;
    /**
     * 圖片實(shí)際高度
     */
    private int mBitmapHeight;
    /**
     * 圖片半徑
     */
    private float mDrawableRadius;
    /**
     * 邊框半徑
     */
    private float mBorderRadius;
    /**
     * 是否初始化準(zhǔn)備好
     */
    private boolean mReady;
    /**
     * 內(nèi)邊距
     */
    private boolean mSetupPending;

    public CircleImageView(Context context) {
        super(context);
    }

    public CircleImageView(Context context, AttributeSet attrs) {
        this(context, attrs, 0);
    }

    public CircleImageView(Context context, AttributeSet attrs, int defStyle) {
        super(context, attrs, defStyle);
        super.setScaleType(SCALE_TYPE);
        /**
         * 獲取在xml中聲明的屬性
         */
        TypedArray a = context.obtainStyledAttributes(attrs, R.styleable.CircleImageView, defStyle, 0);//獲取xml中的屬性

        mBorderWidth = a.getDimensionPixelSize(R.styleable.CircleImageView_border_width, DEFAULT_BORDER_WIDTH);
        mBorderColor = a.getColor(R.styleable.CircleImageView_border_color, DEFAULT_BORDER_COLOR);

        a.recycle();

        mReady = true;

        if (mSetupPending) {
            setup();
            mSetupPending = false;
        }
    }

    @Override
    public ScaleType getScaleType() {
        return SCALE_TYPE;
    }

    @Override
    protected void onDraw(Canvas canvas) {
        if (getDrawable() == null) {
            return;
        }
        /**
         * 畫圓形圖片
         */
        canvas.drawCircle(getWidth() / 2, getHeight() / 2, mDrawableRadius, mBitmapPaint);
        /**
         * 畫圓形邊框
         */
        canvas.drawCircle(getWidth() / 2, getHeight() / 2, mBorderRadius, mBorderPaint);
    }

    @Override
    protected void onSizeChanged(int w, int h, int oldw, int oldh) {
        super.onSizeChanged(w, h, oldw, oldh);
        setup();
    }

    /**
     * 獲取邊框顏色
     *
     * @return
     */
    public int getBorderColor() {
        return mBorderColor;
    }

    /**
     * 設(shè)置邊框顏色
     *
     * @param borderColor
     */
    public void setBorderColor(int borderColor) {
        if (borderColor == mBorderColor) {
            return;
        }

        mBorderColor = borderColor;
        mBorderPaint.setColor(mBorderColor);
        invalidate();
    }

    /**
     * 獲取邊框?qū)挾?     *
     * @return
     */
    public int getBorderWidth() {
        return mBorderWidth;
    }

    /**
     * 設(shè)置邊框?qū)挾?     *
     * @param borderWidth
     */
    public void setBorderWidth(int borderWidth) {
        if (borderWidth == mBorderWidth) {
            return;
        }

        mBorderWidth = borderWidth;
        setup();
    }

    /**
     * 設(shè)置資源圖片
     *
     * @param bm
     */
    @Override
    public void setImageBitmap(Bitmap bm) {
        super.setImageBitmap(bm);
        mBitmap = bm;
        setup();
    }

    /**
     * 設(shè)置資源圖片
     *
     * @param drawable
     */
    @Override
    public void setImageDrawable(Drawable drawable) {
        super.setImageDrawable(drawable);
        mBitmap = getBitmapFromDrawable(drawable);
        setup();
    }

    /**
     * 設(shè)置資源id
     *
     * @param resId
     */
    @Override
    public void setImageResource(int resId) {
        super.setImageResource(resId);
        mBitmap = getBitmapFromDrawable(getDrawable());
        setup();
    }

    /**
     * 獲取資源圖片
     *
     * @param drawable
     * @return
     */
    private Bitmap getBitmapFromDrawable(Drawable drawable) {
        if (drawable == null) {
            return null;
        }

        if (drawable instanceof BitmapDrawable) {
            return ((BitmapDrawable) drawable).getBitmap();
        }

        try {
            Bitmap bitmap;

            if (drawable instanceof ColorDrawable) {
                bitmap = Bitmap.createBitmap(COLORDRAWABLE_DIMENSION, COLORDRAWABLE_DIMENSION, BITMAP_CONFIG);
            } else {
                ImageSizeUtil.ImageSize imageSize = ImageSizeUtil.getImageViewSize(this);
                bitmap = Bitmap.createBitmap(imageSize.width,
                        imageSize.height, BITMAP_CONFIG);
            }

            Canvas canvas = new Canvas(bitmap);
            drawable.setBounds(0, 0, canvas.getWidth(), canvas.getHeight());
            drawable.draw(canvas);
            return bitmap;
        } catch (OutOfMemoryError e) {
            return null;
        }
    }

    /**
     * 畫圓形圖的方法
     */
    private void setup() {
        if (!mReady) {
            mSetupPending = true;
            return;
        }

        if (mBitmap == null) {
            return;
        }
        /**
         *調(diào)用這個(gè)方法來產(chǎn)生一個(gè)畫有一個(gè)位圖的渲染器(Shader)。
         bitmap   在渲染器內(nèi)使用的位圖
         tileX      The tiling mode for x to draw the bitmap in.   在位圖上X方向花磚模式
         tileY     The tiling mode for y to draw the bitmap in.    在位圖上Y方向花磚模式
         TileMode:(一共有三種)
         CLAMP  :如果渲染器超出原始邊界范圍,會(huì)復(fù)制范圍內(nèi)邊緣染色。
         REPEAT :橫向和縱向的重復(fù)渲染器圖片,平鋪。
         MIRROR :橫向和縱向的重復(fù)渲染器圖片,這個(gè)和REPEAT 重復(fù)方式不一樣,他是以鏡像方式平鋪。
         */
        mBitmapShader = new BitmapShader(mBitmap, Shader.TileMode.CLAMP, Shader.TileMode.CLAMP);
        /**
         * 設(shè)置畫圓形的畫筆
         */
        mBitmapPaint.setAntiAlias(true);//設(shè)置抗鋸齒
        mBitmapPaint.setShader(mBitmapShader);//繪制圖形時(shí)的圖形變換

        mBorderPaint.setStyle(Paint.Style.STROKE);
        mBorderPaint.setAntiAlias(true);
        mBorderPaint.setColor(mBorderColor);
        mBorderPaint.setStrokeWidth(mBorderWidth);

        mBitmapHeight = mBitmap.getHeight();
        mBitmapWidth = mBitmap.getWidth();
        /**
         * 設(shè)置邊框矩形的坐標(biāo)
         */
        mBorderRect.set(0, 0, getWidth(), getHeight());
        /**
         * 設(shè)置邊框圓形的半徑為圖片的寬度和高度的一半的最大值
         */
        mBorderRadius = Math.max((mBorderRect.height() - mBorderWidth) / 2, (mBorderRect.width() - mBorderWidth) / 2);
        /**
         * 設(shè)置圖片矩形的坐標(biāo)
         */
        mDrawableRect.set(mBorderWidth, mBorderWidth, mBorderRect.width() - mBorderWidth, mBorderRect.height() - mBorderWidth);
        /**
         * 設(shè)置圖片圓形的半徑為圖片的寬度和高度的一半的最大值
         */
        mDrawableRadius = Math.max(mDrawableRect.height() / 2, mDrawableRect.width() / 2);

        updateShaderMatrix();
        /**
         * 調(diào)用onDraw()方法進(jìn)行繪畫
         */
        invalidate();
    }

    /**
     * 更新位圖渲染
     */
    private void updateShaderMatrix() {
        float scale;
        float dx = 0;
        float dy = 0;
        /**
         * 重置
         */
        mShaderMatrix.set(null);
        /**
         *計(jì)算縮放比,因?yàn)槿绻麍D片的尺寸超過屏幕,那么就會(huì)自動(dòng)匹配到屏幕的尺寸去顯示。
         * 確定移動(dòng)的xy坐標(biāo)
         *
         */
        if (mBitmapWidth * mDrawableRect.height() > mDrawableRect.width() * mBitmapHeight) {
            scale = mDrawableRect.width() / (float) mBitmapWidth;
            dy = (mDrawableRect.height() - mBitmapHeight * scale) * 0.5f;
        } else {
            scale = mDrawableRect.height() / (float) mBitmapHeight;
            dx = (mDrawableRect.width() - mBitmapWidth * scale) * 0.5f;
        }

        mShaderMatrix.setScale(scale, scale);
        mShaderMatrix.postTranslate((int) (dx + 0.5f) + mBorderWidth, (int) (dy + 0.5f) + mBorderWidth);
        /**
         * 設(shè)置shader的本地矩陣
         */
        mBitmapShader.setLocalMatrix(mShaderMatrix);
    }

}

2.里面所使用到的ImageSizeUtil

public class ImageSizeUtil
{
    /**
     * 根據(jù)ImageView獲適當(dāng)?shù)膲嚎s的寬和高
     * 
     * @param imageView
     * @return
     */
    public static ImageSize getImageViewSize(ImageView imageView)
    {

        ImageSize imageSize = new ImageSize();
        DisplayMetrics displayMetrics = imageView.getContext().getResources()
                .getDisplayMetrics();
        

        LayoutParams lp = imageView.getLayoutParams();

        int width = imageView.getWidth();// 獲取imageview的實(shí)際寬度
        if (width <= 0)
        {if(lp!=null){
            width = lp.width;// 獲取imageview在layout中聲明的寬度
        }

        }
        if (width <= 0)
        {
             //width = imageView.getMaxWidth();// 檢查最大值
            width = getImageViewFieldValue(imageView, "mMaxWidth");
        }
        if (width <= 0)
        {
            width = displayMetrics.widthPixels;
        }

        int height = imageView.getHeight();// 獲取imageview的實(shí)際高度
        if (height <= 0)
        {if(lp!=null){
            height = lp.height;// 獲取imageview在layout中聲明的寬度
        }

        }
        if (height <= 0)
        {
            height = getImageViewFieldValue(imageView, "mMaxHeight");// 檢查最大值
        }
        if (height <= 0)
        {
            height = displayMetrics.heightPixels;
        }
        imageSize.width = width;
        imageSize.height = height;

        return imageSize;
    }

    public static class ImageSize
    {
        public int width;
        public  int height;
    }
}

用法

布局文件


    <com.bulemobi.yuandl.view.CircleImageView
        android:id="@+id/ci"
        android:layout_width="180dp"
        android:layout_height="180dp"
        android:scaleType="centerCrop"
        android:layout_gravity="center_horizontal"
        app:border_width="1dp"
        app:border_color="#FF0000"
        />

Activity中的代碼,用xutils3加載圖片

  CircleImageView circleImageView= (CircleImageView) findViewById(R.id.ci);
        x.image().bind(circleImageView,url,new ImageOptions.Builder().setImageScaleType(ImageView.ScaleType.CENTER_CROP).build());
最后編輯于
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請(qǐng)聯(lián)系作者
平臺(tái)聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點(diǎn),簡書系信息發(fā)布平臺(tái),僅提供信息存儲(chǔ)服務(wù)。
  • 序言:七十年代末,一起剝皮案震驚了整個(gè)濱河市,隨后出現(xiàn)的幾起案子,更是在濱河造成了極大的恐慌,老刑警劉巖,帶你破解...
    沈念sama閱讀 230,182評(píng)論 6 543
  • 序言:濱河連續(xù)發(fā)生了三起死亡事件,死亡現(xiàn)場離奇詭異,居然都是意外死亡,警方通過查閱死者的電腦和手機(jī),發(fā)現(xiàn)死者居然都...
    沈念sama閱讀 99,489評(píng)論 3 429
  • 文/潘曉璐 我一進(jìn)店門,熙熙樓的掌柜王于貴愁眉苦臉地迎上來,“玉大人,你說我怎么就攤上這事。” “怎么了?”我有些...
    開封第一講書人閱讀 178,290評(píng)論 0 383
  • 文/不壞的土叔 我叫張陵,是天一觀的道長。 經(jīng)常有香客問我,道長,這世上最難降的妖魔是什么? 我笑而不...
    開封第一講書人閱讀 63,776評(píng)論 1 317
  • 正文 為了忘掉前任,我火速辦了婚禮,結(jié)果婚禮上,老公的妹妹穿的比我還像新娘。我一直安慰自己,他們只是感情好,可當(dāng)我...
    茶點(diǎn)故事閱讀 72,510評(píng)論 6 412
  • 文/花漫 我一把揭開白布。 她就那樣靜靜地躺著,像睡著了一般。 火紅的嫁衣襯著肌膚如雪。 梳的紋絲不亂的頭發(fā)上,一...
    開封第一講書人閱讀 55,866評(píng)論 1 328
  • 那天,我揣著相機(jī)與錄音,去河邊找鬼。 笑死,一個(gè)胖子當(dāng)著我的面吹牛,可吹牛的內(nèi)容都是我干的。 我是一名探鬼主播,決...
    沈念sama閱讀 43,860評(píng)論 3 447
  • 文/蒼蘭香墨 我猛地睜開眼,長吁一口氣:“原來是場噩夢(mèng)啊……” “哼!你這毒婦竟也來了?” 一聲冷哼從身側(cè)響起,我...
    開封第一講書人閱讀 43,036評(píng)論 0 290
  • 序言:老撾萬榮一對(duì)情侶失蹤,失蹤者是張志新(化名)和其女友劉穎,沒想到半個(gè)月后,有當(dāng)?shù)厝嗽跇淞掷锇l(fā)現(xiàn)了一具尸體,經(jīng)...
    沈念sama閱讀 49,585評(píng)論 1 336
  • 正文 獨(dú)居荒郊野嶺守林人離奇死亡,尸身上長有42處帶血的膿包…… 初始之章·張勛 以下內(nèi)容為張勛視角 年9月15日...
    茶點(diǎn)故事閱讀 41,331評(píng)論 3 358
  • 正文 我和宋清朗相戀三年,在試婚紗的時(shí)候發(fā)現(xiàn)自己被綠了。 大學(xué)時(shí)的朋友給我發(fā)了我未婚夫和他白月光在一起吃飯的照片。...
    茶點(diǎn)故事閱讀 43,536評(píng)論 1 374
  • 序言:一個(gè)原本活蹦亂跳的男人離奇死亡,死狀恐怖,靈堂內(nèi)的尸體忽然破棺而出,到底是詐尸還是另有隱情,我是刑警寧澤,帶...
    沈念sama閱讀 39,058評(píng)論 5 363
  • 正文 年R本政府宣布,位于F島的核電站,受9級(jí)特大地震影響,放射性物質(zhì)發(fā)生泄漏。R本人自食惡果不足惜,卻給世界環(huán)境...
    茶點(diǎn)故事閱讀 44,754評(píng)論 3 349
  • 文/蒙蒙 一、第九天 我趴在偏房一處隱蔽的房頂上張望。 院中可真熱鬧,春花似錦、人聲如沸。這莊子的主人今日做“春日...
    開封第一講書人閱讀 35,154評(píng)論 0 28
  • 文/蒼蘭香墨 我抬頭看了看天上的太陽。三九已至,卻和暖如春,著一層夾襖步出監(jiān)牢的瞬間,已是汗流浹背。 一陣腳步聲響...
    開封第一講書人閱讀 36,469評(píng)論 1 295
  • 我被黑心中介騙來泰國打工, 沒想到剛下飛機(jī)就差點(diǎn)兒被人妖公主榨干…… 1. 我叫王不留,地道東北人。 一個(gè)月前我還...
    沈念sama閱讀 52,273評(píng)論 3 399
  • 正文 我出身青樓,卻偏偏與公主長得像,于是被迫代替她去往敵國和親。 傳聞我的和親對(duì)象是個(gè)殘疾皇子,可洞房花燭夜當(dāng)晚...
    茶點(diǎn)故事閱讀 48,505評(píng)論 2 379

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