private void initView() {
    headLayout = (LinearLayout) this.findViewById(R.id.headLayout);
    headLayout.setOnClickListener(this);

    headImageView = (CircleImageView) this.findViewById(R.id.headImageView);

    topCardTextView = (TextView) this.findViewById(R.id.topCardTextView);
    topCardTextView.setOnClickListener(this);

    topRecordTextView = (TextView) this.findViewById(R.id.topRecordTextView);
    topRecordTextView.setOnClickListener(this);

    countBadgeView = new BadgeView(this, topRecordTextView);
    countBadgeView.setBadgePosition(BadgeView.POSITION_TOP_RIGHT);
    countBadgeView.setBadgeMargin(AdapterUtil.dip2px(this, 15), AdapterUtil.dip2px(this, 5));
    countBadgeView.setTextSize(13);
    countBadgeView.hide();

    topSettingTextView = (TextView) this.findViewById(R.id.topSettingTextView);
    topSettingTextView.setOnClickListener(this);

    hqAccountLayout = (LinearLayout) this.findViewById(R.id.hqAccountLayout);
    hqAccountLayout.setOnClickListener(this);

    totalMoneyTextView = (MagicTextView) this.findViewById(R.id.totalMoneyTextView);
    totalMoneyTextView.setLargeFontSize(35);
    totalMoneyTextView.setSmallFontSize(35);
    totalMoneyTextView.setValue(0.00);

    magicScrollView = (MagicScrollView) this.findViewById(R.id.magicScrollView);

    yesterdayEarningsTextView = (TextView) this.findViewById(R.id.yesterdayEarningsTextView);

    guguTextView = (TextView) this.findViewById(R.id.guguTextView);
    guguTextView.setText(
        Html.fromHtml("<font color=#23AFF5>鼓鼓理财,</font><font color=#333333>为您创造10%的活期理财收益</font>"));
    guguTextView.setOnClickListener(this);

    moneyTextView = (TextView) this.findViewById(R.id.moneyTextView);
    hqStatusTextView = (TextView) this.findViewById(R.id.hqStatusTextView);

    this.findViewById(R.id.balanceLayout).setOnClickListener(this);
    this.findViewById(R.id.recordsLayout).setOnClickListener(this);
    this.findViewById(R.id.hqLayout).setOnClickListener(this);

    noHouseImageView = (ImageView) this.findViewById(R.id.noHouseImageView);
    contentLayout = (LinearLayout) this.findViewById(R.id.contentLayout);
  }