private void initUI() {
    ImageView ivBackground = (ImageView) mRootLayout.findViewById(R.id.iv_background);
    WallpaperUtils.showWallpaper(getActivity(), ivBackground, mDao.getCurrent());

    mPasswordView = (DigitalPasswordView) mRootLayout.findViewById(R.id.dpv_password_view);
    mPasswordView.setOnClickListener(this);
    indicator = (EnterDigitalIndicator) mRootLayout.findViewById(R.id.edi_indicator);
  }
  private void initUI() {
    ImageView ivBackground = (ImageView) mRootLayout.findViewById(R.id.iv_background);
    WallpaperUtils.showWallpaper(getActivity(), ivBackground, mDao.getCurrent());

    mPasswordView = (LockCPicturePatternView) mRootLayout.findViewById(R.id.lpv_lockview);
    mPasswordView.setOnPatternListener(this);

    mTVDrawPattern = (TextView) mRootLayout.findViewById(R.id.tv_draw_pattern);

    mBtnCancel = (TextView) mRootLayout.findViewById(R.id.btn_reset);
    mBtnDone = (TextView) mRootLayout.findViewById(R.id.btn_done);
    mBtnCancel.setOnClickListener(this);
    mBtnDone.setOnClickListener(this);
    mBtnDone.setEnabled(false);
  }
  private void initUI() {
    ImageView ivBackground = (ImageView) mRootLayout.findViewById(R.id.iv_background);
    WallpaperUtils.showWallpaper(getActivity(), ivBackground, mDao.getCurrent());

    tvCountdownContent = (TextView) mRootLayout.findViewById(R.id.tv_countdown_content);
    tvCountdown = (CountdownTextView) mRootLayout.findViewById(R.id.tv_countdown_time);

    tvCountdownContent.setText(config.getCountdownContent());
    tvCountdown.setTime(config.getCountdownTimestamp());
    tvCountdownContent.setTextColor(config.getWidgetCountdownColor());
    tvCountdown.setTextColor(config.getWidgetCountdownColor());
    tvCountdown.setOnClickListener(this);
    tvCountdownContent.setOnClickListener(this);
    mRootLayout.findViewById(R.id.tv_enable).setOnClickListener(this);
    mRootLayout.findViewById(R.id.tv_disable).setOnClickListener(this);
  }