Android頂部標(biāo)題欄--HeaderBarView

image.png

image.png

image.png

第一步:
在values下面新建attrs文件橱夭,設(shè)置屬性

<?xml version="1.0" encoding="utf-8"?>
<resources>
 <!--足跡頂部標(biāo)題欄自定義屬性-->
  <declare-styleable name="HeaderBarView">
    <attr name="headerLeftText" format="string"/>
    <attr name="headerLeftTextColor" format="color"/>
    <attr name="headerLeftTextSize" format="dimension"/>

    <attr name="headerCenterTextColor" format="color"/>
    <attr name="headerCenterTitle" format="string"/>
    <attr name="headerCenterTextSize" format="dimension"/>

    <attr name="headerCenterText2Color" format="color"/>
    <attr name="headerCenterTitle2" format="string"/>
    <attr name="headerCenterText2Size" format="dimension"/>
    <attr name="headerCenterTitle2Visibility" format="string"/>
    <attr name="headerCenterTitle2DrawableLeft" format="reference"/>

    <attr name="headerRightTextColor" format="color"/>
    <attr name="headerRightText" format="string"/>
    <attr name="headerRightTextSize" format="dimension"/>

    <attr name="headerLeftDrawble" format="reference"/>
    <attr name="headerRightDrawable" format="reference"/>
    <attr name="headerCenterLeftDrawbleVisibility" format="string"/>
    <attr name="headerCenterRightDrawableVisibility" format="string"/>
  </declare-styleable>
</resources>

主要設(shè)置內(nèi)容,顏色桑逝,圖片等

第二步:

設(shè)置標(biāo)題欄的布局文件

<?xml version="1.0" encoding="utf-8"?>
<android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    xmlns:tools="http://schemas.android.com/tools"
    android:id="@+id/layout_title"
    android:layout_width="match_parent"
    android:layout_height="match_parent">

    <android.support.constraint.ConstraintLayout
        android:id="@+id/layout_left"
        android:layout_width="wrap_content"
        android:layout_height="match_parent"
        android:gravity="center"
        android:orientation="horizontal"
        android:paddingLeft="@dimen/size_8"
        android:paddingRight="@dimen/size_8"
        app:layout_constraintBottom_toBottomOf="parent"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintTop_toTopOf="parent">

        <ImageView
            android:id="@+id/iv_left"
            android:layout_width="23dp"
            android:layout_height="23dp"
            android:contentDescription="@null"
            android:scaleType="centerInside"
            app:layout_constraintBottom_toBottomOf="parent"
            app:layout_constraintEnd_toStartOf="@+id/tv_left"
            app:layout_constraintStart_toStartOf="parent"
            app:layout_constraintTop_toTopOf="parent" />

        <TextView
            android:id="@+id/tv_left"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:gravity="center"
            android:maxLength="4"
            android:maxLines="1"
            app:layout_constraintBottom_toBottomOf="parent"
            app:layout_constraintEnd_toEndOf="parent"
            app:layout_constraintStart_toEndOf="@+id/iv_left"
            app:layout_constraintTop_toTopOf="parent" />
    </android.support.constraint.ConstraintLayout>

    <LinearLayout
        android:id="@+id/layout_center"
        android:layout_width="wrap_content"
        android:layout_height="match_parent"
        android:gravity="center"
        android:orientation="vertical"
        android:paddingLeft="@dimen/size_8"
        android:paddingRight="@dimen/size_8"
        app:layout_constraintBottom_toBottomOf="parent"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintTop_toTopOf="parent">

        <TextView
            android:id="@+id/tv_title"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:gravity="center"
            android:maxLength="10"
            android:maxLines="1" />

        <TextView
            android:id="@+id/tv_title_2"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:gravity="center"
            android:maxLength="10"
            android:maxLines="1" />
    </LinearLayout>

    <android.support.constraint.ConstraintLayout
        android:id="@+id/layout_right"
        android:layout_width="wrap_content"
        android:layout_height="match_parent"
        android:gravity="center"
        android:paddingLeft="@dimen/size_8"
        android:paddingRight="@dimen/size_8"
        app:layout_constraintBottom_toBottomOf="parent"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintTop_toTopOf="parent">

        <TextView
            android:id="@+id/tv_right"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:gravity="center"
            android:maxLines="1"
            app:layout_constraintBottom_toBottomOf="parent"
            app:layout_constraintEnd_toStartOf="@+id/iv_right"
            app:layout_constraintStart_toStartOf="parent"
            app:layout_constraintTop_toTopOf="parent" />

        <ImageView
            android:id="@+id/iv_right"
            android:layout_width="23dp"
            android:layout_height="23dp"
            android:contentDescription="@null"
            android:scaleType="centerInside"
            app:layout_constraintBottom_toBottomOf="parent"
            app:layout_constraintEnd_toEndOf="parent"
            app:layout_constraintStart_toEndOf="@+id/tv_right"
            app:layout_constraintTop_toTopOf="parent" />
    </android.support.constraint.ConstraintLayout>
</android.support.constraint.ConstraintLayout>

這里的布局文件是通用的布局文件棘劣,需要對此布局根據(jù)自己的需求進行配置,這個就需要自定義View了

第三步:

自定義HeaderBarView楞遏,主要進行引用布局茬暇,初始化view,拿到自定義屬性進行相應(yīng)配置

    public HeaderBarView(final Context context, AttributeSet attrs, int defStyleAttr) {
        super(context, attrs, defStyleAttr);
        LayoutInflater.from(context).inflate(R.layout.zuji_header_bar_view, this);
        initView();
        TypedArray array = context.obtainStyledAttributes(attrs, R.styleable.HeaderBarView, defStyleAttr, 0);
        int count = array.getIndexCount();
        for (int i = 0; i < count; i++) {
            int attr = array.getIndex(i);
            switch (attr) {
                case R.styleable.HeaderBarView_headerLeftTextColor:
                    tv_left.setTextColor(array.getColor(attr, Color.BLACK));
                    break;
                case R.styleable.HeaderBarView_headerLeftDrawble:
                    iv_left.setImageResource(array.getResourceId(attr, 0));
                    break;
                case R.styleable.HeaderBarView_headerLeftTextSize:
//                    tv_left.setTextSize(array.getDimension(attr,12f));
                    tv_left.setTextSize(TypedValue.COMPLEX_UNIT_PX, array.getDimensionPixelSize(attr, 0));
                    break;
                case R.styleable.HeaderBarView_headerLeftText:
                    tv_left.setText(array.getString(attr));
                    break;

                case R.styleable.HeaderBarView_headerCenterTextColor:
                    tv_title.setTextColor(array.getColor(attr, Color.BLACK));
                    break;
                case R.styleable.HeaderBarView_headerCenterTitle:
                    tv_title.setText(array.getString(attr));
                    break;
                case R.styleable.HeaderBarView_headerCenterTextSize:
                    tv_title.setTextSize(TypedValue.COMPLEX_UNIT_PX, array.getDimensionPixelSize(attr, 0));
                    break;

                case R.styleable.HeaderBarView_headerCenterText2Color:
                    tv_title2.setTextColor(array.getColor(attr, Color.BLACK));
                    break;
                case R.styleable.HeaderBarView_headerCenterTitle2:
                    tv_title2.setText(array.getString(attr));
                    break;
                case R.styleable.HeaderBarView_headerCenterText2Size:
//                    tv_title2.setTextSize(array.getDimensionPixelSize(attr, 12));
//                    int size = array.getDimensionPixelSize(attr, 0);
                    tv_title2.setTextSize(TypedValue.COMPLEX_UNIT_PX, array.getDimensionPixelSize(attr, 0));
                    break;
                case R.styleable.HeaderBarView_headerCenterTitle2Visibility:
                    String visible = array.getString(attr);
                    setVisibility(tv_title2,visible);
                    break;
                case R.styleable.HeaderBarView_headerCenterTitle2DrawableLeft:
                    Drawable drawableLeft = null;
                    drawableLeft = array.getDrawable(attr);
                    /// 這一步必須要做,否則不會顯示.
                    drawableLeft.setBounds(0, 0, drawableLeft.getMinimumWidth(), drawableLeft.getMinimumHeight());
                    tv_title2.setCompoundDrawables(drawableLeft, null, null, null);
                    break;

                case R.styleable.HeaderBarView_headerRightDrawable:
                    iv_right.setImageResource(array.getResourceId(attr, 0));
                    break;
                case R.styleable.HeaderBarView_headerRightText:
                    tv_right.setText(array.getString(attr));
                    break;
                case R.styleable.HeaderBarView_headerRightTextColor:
                    tv_right.setTextColor(array.getColor(attr, Color.BLACK));
                    break;
                case R.styleable.HeaderBarView_headerRightTextSize:
                    tv_right.setTextSize(TypedValue.COMPLEX_UNIT_PX, array.getDimensionPixelSize(attr, 0));
                    break;

                case R.styleable.HeaderBarView_headerCenterLeftDrawbleVisibility:
                    String visible2 = array.getString(attr);
                    setVisibility(iv_left,visible2);
                    break;
                case R.styleable.HeaderBarView_headerCenterRightDrawableVisibility:
                    String visible3 = array.getString(attr);
                    setVisibility(iv_right,visible3);
                    break;
            }
        }
        array.recycle();
        layout_left.setOnClickListener(new OnClickListener() {
            @Override
            public void onClick(View view) {
                if (mClick != null)
                    mClick.leftClick(view);
            }
        });
        layout_right.setOnClickListener(new OnClickListener() {
            @Override
            public void onClick(View view) {
                if (mClick != null)
                    mClick.rightClick(view);
            }
        });
    }

然后我們需要添加左側(cè)寡喝,右側(cè)的點擊事件糙俗,由于一般反饋點擊范圍太小,導(dǎo)致點擊靈敏性較差预鬓,所以這里全部設(shè)置對左側(cè)巧骚,右側(cè)布局進行監(jiān)聽,而不是單個控件

設(shè)置回調(diào)接口

private onViewClick mClick;

 public void setOnViewClick(onViewClick click) {
        this.mClick = click;
    }

    public interface onViewClick {
        void leftClick();

        void rightClick();
    }

在調(diào)用的時候拿到自定義view對象setOnViewClick即可

全部代碼如下:

package com.zuji.entrance.widget;

import android.content.Context;
import android.content.res.TypedArray;
import android.graphics.Color;
import android.graphics.drawable.Drawable;
import android.support.constraint.ConstraintLayout;
import android.text.TextUtils;
import android.util.AttributeSet;
import android.util.TypedValue;
import android.view.LayoutInflater;
import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;

import com.zuji.library.R;

/**
 * Created by fangyc on 2018/7/19.
 */

public class HeaderBarView extends ConstraintLayout {
    private ConstraintLayout layout_left, layout_right;
    private TextView tv_left, tv_title, tv_title2, tv_right;
    private ImageView iv_left, iv_right;
    private onViewClick mClick;

    public HeaderBarView(Context context) {
        this(context, null);
    }

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

    public HeaderBarView(final Context context, AttributeSet attrs, int defStyleAttr) {
        super(context, attrs, defStyleAttr);
        LayoutInflater.from(context).inflate(R.layout.zuji_header_bar_view, this);
        initView();
        TypedArray array = context.obtainStyledAttributes(attrs, R.styleable.HeaderBarView, defStyleAttr, 0);
        int count = array.getIndexCount();
        for (int i = 0; i < count; i++) {
            int attr = array.getIndex(i);
            switch (attr) {
                case R.styleable.HeaderBarView_headerLeftTextColor:
                    tv_left.setTextColor(array.getColor(attr, Color.BLACK));
                    break;
                case R.styleable.HeaderBarView_headerLeftDrawble:
                    iv_left.setImageResource(array.getResourceId(attr, 0));
                    break;
                case R.styleable.HeaderBarView_headerLeftTextSize:
//                    tv_left.setTextSize(array.getDimension(attr,12f));
                    tv_left.setTextSize(TypedValue.COMPLEX_UNIT_PX, array.getDimensionPixelSize(attr, 0));
                    break;
                case R.styleable.HeaderBarView_headerLeftText:
                    tv_left.setText(array.getString(attr));
                    break;

                case R.styleable.HeaderBarView_headerCenterTextColor:
                    tv_title.setTextColor(array.getColor(attr, Color.BLACK));
                    break;
                case R.styleable.HeaderBarView_headerCenterTitle:
                    tv_title.setText(array.getString(attr));
                    break;
                case R.styleable.HeaderBarView_headerCenterTextSize:
                    tv_title.setTextSize(TypedValue.COMPLEX_UNIT_PX, array.getDimensionPixelSize(attr, 0));
                    break;

                case R.styleable.HeaderBarView_headerCenterText2Color:
                    tv_title2.setTextColor(array.getColor(attr, Color.BLACK));
                    break;
                case R.styleable.HeaderBarView_headerCenterTitle2:
                    tv_title2.setText(array.getString(attr));
                    break;
                case R.styleable.HeaderBarView_headerCenterText2Size:
//                    tv_title2.setTextSize(array.getDimensionPixelSize(attr, 12));
//                    int size = array.getDimensionPixelSize(attr, 0);
                    tv_title2.setTextSize(TypedValue.COMPLEX_UNIT_PX, array.getDimensionPixelSize(attr, 0));
                    break;
                case R.styleable.HeaderBarView_headerCenterTitle2Visibility:
                    String visible = array.getString(attr);
                    setVisibility(tv_title2,visible);
                    break;
                case R.styleable.HeaderBarView_headerCenterTitle2DrawableLeft:
                    Drawable drawableLeft = null;
                    drawableLeft = array.getDrawable(attr);
                    /// 這一步必須要做,否則不會顯示.
                    drawableLeft.setBounds(0, 0, drawableLeft.getMinimumWidth(), drawableLeft.getMinimumHeight());
                    tv_title2.setCompoundDrawables(drawableLeft, null, null, null);
                    break;

                case R.styleable.HeaderBarView_headerRightDrawable:
                    iv_right.setImageResource(array.getResourceId(attr, 0));
                    break;
                case R.styleable.HeaderBarView_headerRightText:
                    tv_right.setText(array.getString(attr));
                    break;
                case R.styleable.HeaderBarView_headerRightTextColor:
                    tv_right.setTextColor(array.getColor(attr, Color.BLACK));
                    break;
                case R.styleable.HeaderBarView_headerRightTextSize:
                    tv_right.setTextSize(TypedValue.COMPLEX_UNIT_PX, array.getDimensionPixelSize(attr, 0));
                    break;

                case R.styleable.HeaderBarView_headerCenterLeftDrawbleVisibility:
                    String visible2 = array.getString(attr);
                    setVisibility(iv_left,visible2);
                    break;
                case R.styleable.HeaderBarView_headerCenterRightDrawableVisibility:
                    String visible3 = array.getString(attr);
                    setVisibility(iv_right,visible3);
                    break;
            }
        }
        array.recycle();
        layout_left.setOnClickListener(new OnClickListener() {
            @Override
            public void onClick(View view) {
                if (mClick != null)
                    mClick.leftClick(view);
            }
        });
        layout_right.setOnClickListener(new OnClickListener() {
            @Override
            public void onClick(View view) {
                if (mClick != null)
                    mClick.rightClick(view);
            }
        });
    }


    private void setVisibility(View view,String visible){
        visible = TextUtils.isEmpty(visible) ? "visible" : visible;
        switch (visible) {
            case "gone":
                view.setVisibility(View.GONE);
                break;
            case "visible":
                view.setVisibility(View.VISIBLE);
                break;
            case "invisible":
                view.setVisibility(View.INVISIBLE);
                break;
            default:
                view.setVisibility(View.VISIBLE);
                break;
        }
    }

    private void initView() {
        tv_left = findViewById(R.id.tv_left);
        tv_title = findViewById(R.id.tv_title);
        tv_title2 = findViewById(R.id.tv_title_2);
        tv_right = findViewById(R.id.tv_right);
        iv_left = findViewById(R.id.iv_left);
        iv_right = findViewById(R.id.iv_right);
        layout_left = findViewById(R.id.layout_left);
        layout_right = findViewById(R.id.layout_right);
    }

    public void setOnViewClick(onViewClick click) {
        this.mClick = click;
    }

    //設(shè)置標(biāo)題
    public void setTitle(String title) {
        if (!TextUtils.isEmpty(title)) {
            tv_title.setText(title);
        }
    }

    //設(shè)置左標(biāo)題
    public void setLeftText(String title) {
        if (!TextUtils.isEmpty(title)) {
            tv_left.setText(title);
        }
    }

    //設(shè)置右標(biāo)題
    public void setRightText(String title) {
        if (!TextUtils.isEmpty(title)) {
            tv_right.setText(title);
        }
    }

    //設(shè)置標(biāo)題大小
    public void setTitleSize(int size) {
        if (tv_title != null) {
            tv_title.setTextSize(TypedValue.COMPLEX_UNIT_SP, size);
        }
    }

    //設(shè)置左標(biāo)題大小
    public void setLeftTextSize(int size) {
        if (tv_left != null) {
            tv_left.setTextSize(TypedValue.COMPLEX_UNIT_SP, size);
        }
    }

    //設(shè)置右標(biāo)題大小
    public void setRightTextSize(int size) {
        if (tv_right != null) {
            tv_right.setTextSize(TypedValue.COMPLEX_UNIT_SP, size);
        }
    }

    //設(shè)置左圖標(biāo)
    public void setLeftDrawable(int res) {
        if (iv_left != null) {
            iv_left.setImageResource(res);
        }
    }

    //設(shè)置右圖標(biāo)
    public void setRightDrawable(int res) {
        if (iv_right != null) {
            iv_right.setImageResource(res);
        }
    }

    public interface onViewClick {
        void leftClick(View view);

        void rightClick(View view);
    }
}

引用如下:

 <com.zuji.entrance.widget.HeaderBarView
        android:id="@+id/title_bar"
        android:layout_width="match_parent"
        android:layout_height="@dimen/zuji_title_bar_height"
        android:background="#4588f5"
        app:headerCenterTextColor="#FFF"
        app:headerCenterTextSize="14dp"
        app:headerCenterTitle="旅行足跡"

        app:headerCenterTitle2Visibility="gone"
        app:headerLeftDrawble="@drawable/zuji_title_bar_back"
        app:headerRightDrawable="@drawable/zuji_title_bar_more"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintTop_toTopOf="parent" />
<com.zuji.entrance.widget.HeaderBarView
            android:id="@+id/title_bar"
            android:layout_width="match_parent"
            android:layout_height="62dp"
            android:background="#ffffff"
            app:headerCenterText2Color="#999999"
            app:headerCenterText2Size="10dp"

            app:headerCenterTextColor="#222222"
            app:headerCenterTextSize="16dp"
            app:headerCenterTitle="廣州市"

            app:headerCenterTitle2=" 僅自己可見"
            app:headerCenterTitle2DrawableLeft="@drawable/zuji_privacy_icon"

            app:headerLeftDrawble="@drawable/zuji_header_black_back_default"
            app:headerRightDrawable="@drawable/zuji_black_share_icon_default" />
<com.zuji.entrance.widget.HeaderBarView
        android:id="@+id/title_bar"
        android:layout_width="match_parent"
        android:layout_height="62dp"

        android:background="#ffffff"
        app:headerCenterTextColor="#222222"
        app:headerCenterTextSize="16dp"

        app:headerCenterTitle="點評"
        app:headerCenterTitle2Visibility="gone"
        app:headerLeftText="取消"
        app:headerCenterLeftDrawbleVisibility="gone"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintTop_toTopOf="parent" />
最后編輯于
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請聯(lián)系作者
  • 序言:七十年代末珊皿,一起剝皮案震驚了整個濱河市网缝,隨后出現(xiàn)的幾起案子,更是在濱河造成了極大的恐慌蟋定,老刑警劉巖粉臊,帶你破解...
    沈念sama閱讀 219,366評論 6 508
  • 序言:濱河連續(xù)發(fā)生了三起死亡事件,死亡現(xiàn)場離奇詭異驶兜,居然都是意外死亡扼仲,警方通過查閱死者的電腦和手機,發(fā)現(xiàn)死者居然都...
    沈念sama閱讀 93,521評論 3 395
  • 文/潘曉璐 我一進店門抄淑,熙熙樓的掌柜王于貴愁眉苦臉地迎上來屠凶,“玉大人,你說我怎么就攤上這事肆资〈@ⅲ” “怎么了?”我有些...
    開封第一講書人閱讀 165,689評論 0 356
  • 文/不壞的土叔 我叫張陵郑原,是天一觀的道長唉韭。 經(jīng)常有香客問我,道長犯犁,這世上最難降的妖魔是什么属愤? 我笑而不...
    開封第一講書人閱讀 58,925評論 1 295
  • 正文 為了忘掉前任,我火速辦了婚禮酸役,結(jié)果婚禮上住诸,老公的妹妹穿的比我還像新娘驾胆。我一直安慰自己,他們只是感情好贱呐,可當(dāng)我...
    茶點故事閱讀 67,942評論 6 392
  • 文/花漫 我一把揭開白布丧诺。 她就那樣靜靜地躺著,像睡著了一般奄薇。 火紅的嫁衣襯著肌膚如雪锅必。 梳的紋絲不亂的頭發(fā)上,一...
    開封第一講書人閱讀 51,727評論 1 305
  • 那天惕艳,我揣著相機與錄音,去河邊找鬼驹愚。 笑死远搪,一個胖子當(dāng)著我的面吹牛,可吹牛的內(nèi)容都是我干的逢捺。 我是一名探鬼主播谁鳍,決...
    沈念sama閱讀 40,447評論 3 420
  • 文/蒼蘭香墨 我猛地睜開眼,長吁一口氣:“原來是場噩夢啊……” “哼劫瞳!你這毒婦竟也來了倘潜?” 一聲冷哼從身側(cè)響起,我...
    開封第一講書人閱讀 39,349評論 0 276
  • 序言:老撾萬榮一對情侶失蹤志于,失蹤者是張志新(化名)和其女友劉穎涮因,沒想到半個月后,有當(dāng)?shù)厝嗽跇淞掷锇l(fā)現(xiàn)了一具尸體伺绽,經(jīng)...
    沈念sama閱讀 45,820評論 1 317
  • 正文 獨居荒郊野嶺守林人離奇死亡养泡,尸身上長有42處帶血的膿包…… 初始之章·張勛 以下內(nèi)容為張勛視角 年9月15日...
    茶點故事閱讀 37,990評論 3 337
  • 正文 我和宋清朗相戀三年,在試婚紗的時候發(fā)現(xiàn)自己被綠了奈应。 大學(xué)時的朋友給我發(fā)了我未婚夫和他白月光在一起吃飯的照片澜掩。...
    茶點故事閱讀 40,127評論 1 351
  • 序言:一個原本活蹦亂跳的男人離奇死亡,死狀恐怖杖挣,靈堂內(nèi)的尸體忽然破棺而出肩榕,到底是詐尸還是另有隱情,我是刑警寧澤惩妇,帶...
    沈念sama閱讀 35,812評論 5 346
  • 正文 年R本政府宣布株汉,位于F島的核電站,受9級特大地震影響屿附,放射性物質(zhì)發(fā)生泄漏郎逃。R本人自食惡果不足惜线罕,卻給世界環(huán)境...
    茶點故事閱讀 41,471評論 3 331
  • 文/蒙蒙 一豪娜、第九天 我趴在偏房一處隱蔽的房頂上張望枫甲。 院中可真熱鬧,春花似錦握童、人聲如沸。這莊子的主人今日做“春日...
    開封第一講書人閱讀 32,017評論 0 22
  • 文/蒼蘭香墨 我抬頭看了看天上的太陽。三九已至揣非,卻和暖如春抡医,著一層夾襖步出監(jiān)牢的瞬間,已是汗流浹背早敬。 一陣腳步聲響...
    開封第一講書人閱讀 33,142評論 1 272
  • 我被黑心中介騙來泰國打工忌傻, 沒想到剛下飛機就差點兒被人妖公主榨干…… 1. 我叫王不留,地道東北人搞监。 一個月前我還...
    沈念sama閱讀 48,388評論 3 373
  • 正文 我出身青樓水孩,卻偏偏與公主長得像,于是被迫代替她去往敵國和親琐驴。 傳聞我的和親對象是個殘疾皇子俘种,可洞房花燭夜當(dāng)晚...
    茶點故事閱讀 45,066評論 2 355

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

  • Android 自定義View的各種姿勢1 Activity的顯示之ViewRootImpl詳解 Activity...
    passiontim閱讀 172,182評論 25 707
  • 1、通過CocoaPods安裝項目名稱項目信息 AFNetworking網(wǎng)絡(luò)請求組件 FMDB本地數(shù)據(jù)庫組件 SD...
    陽明先生_X自主閱讀 15,982評論 3 119
  • 我姨以前經(jīng)常說讓我們?nèi)ニ麄冮_的理發(fā)店做頭發(fā)绝淡,她真正的原因其實是想見我們宙刘,她說我們在外地,偶爾回來還不跟他們來往牢酵,以...
    花堪解語閱讀 562評論 1 1
  • 在夏目的23時友人賬變成了薄薄的只有封底與封面馍乙。夏目把貓咪老師抱在懷中“貓咪老師玉罐,你說友人帳都還完了,為什么...
    靜幻閱讀 514評論 1 2
  • 圖/手機&網(wǎng)絡(luò) 文/野瑪Yema 感謝閱讀茶里乾坤的,壺中日月長(上)铁追,今天和大家分享文章下篇季蚂。 目錄 01【兼職...
    lil_lin閱讀 1,667評論 0 3