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);
  }
  private void initView() {
    this.findViewById(R.id.backBtn).setOnClickListener(this);
    ((TextView) this.findViewById(R.id.titleTextView)).setText("房屋信息");

    flowlayout = (TagFlowLayout) this.findViewById(R.id.flowlayout);
    flowlayout.setEnabled(false);
    flowlayout.setVisibility(View.GONE);

    this.communityTextView = (TextView) this.findViewById(R.id.communityTextView);
    this.areaTextView = (TextView) this.findViewById(R.id.areaTextView);
    this.moneyTextView = (TextView) this.findViewById(R.id.moneyTextView);
    this.monthTextView = (TextView) this.findViewById(R.id.monthTextView);
    this.leaseTypeTextView = (TextView) this.findViewById(R.id.leaseTypeTextView);
    this.decorateTextView = (TextView) this.findViewById(R.id.decorateTextView);
    this.areaSizeTextView = (TextView) this.findViewById(R.id.areaSizeTextView);
    this.orientationTextView = (TextView) this.findViewById(R.id.orientationTextView);
    this.floorTextView = (TextView) this.findViewById(R.id.floorTextView);
    this.leaseTimeTextView = (TextView) this.findViewById(R.id.leaseTimeTextView);

    gridView = (AsymmetricGridView) this.findViewById(R.id.gridView);

    gridView.setRequestedColumnCount(3);
    gridView.setRowHeight(45);
    gridView.determineColumns();
    gridView.setAllowReordering(true);
    gridView.isAllowReordering(); // true

    adapter = new EquipmentAdapter(this);
    AsymmetricGridViewAdapter asymmetricAdapter =
        new AsymmetricGridViewAdapter<>(this, gridView, adapter);
    gridView.setAdapter(asymmetricAdapter);

    heatingFeesTextView = (TextView) this.findViewById(R.id.heatingFeesTextView);
    busTextView = (TextView) this.findViewById(R.id.busTextView);
    subwayTextView = (TextView) this.findViewById(R.id.subwayTextView);

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

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

    lookatLayout = (LinearLayout) this.findViewById(R.id.lookatLayout);

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

    lookCountBadgeView = new BadgeView(this, lookListTextView);
    lookCountBadgeView.setBadgePosition(BadgeView.POSITION_TOP_RIGHT);

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

    cancelPublishTextView.setVisibility(View.GONE);
    lookatLayout.setVisibility(View.VISIBLE);

    if (this.getIntent().getBooleanExtra("hideall", false)) {
      cancelPublishTextView.setVisibility(View.GONE);
      lookatLayout.setVisibility(View.GONE);
    }
  }