예제 #1
0
  @Override
  public void findViews() {
    // TODO Auto-generated method stub
    TitleManager.showTitle(this, new int[] {TitleManager.BACK}, R.string.register_title, this);
    btn_yanzhengma = (Button) this.findViewById(R.id.btn_yanzhengma);
    StringUtils.setButtonTypeface(FontType.XIYUAN, this, btn_yanzhengma);

    btn_register = (Button) this.findViewById(R.id.btn_register);
    StringUtils.setButtonTypeface(FontType.XIYUAN, this, btn_register);

    edt_user = (EditText) this.findViewById(R.id.edt_user);
    StringUtils.setEditTextTypeface(FontType.XIYUAN, this, edt_user);

    edt_pwd = (EditText) this.findViewById(R.id.edt_password);
    StringUtils.setEditTextTypeface(FontType.XIYUAN, this, edt_pwd);

    edt_yanzhengma = (EditText) this.findViewById(R.id.edt_yanzhengma);
    StringUtils.setEditTextTypeface(FontType.XIYUAN, this, edt_yanzhengma);

    ckb_follow = (CheckBox) this.findViewById(R.id.ckb_follow);
    StringUtils.setCheckBoxTypeface(FontType.XIYUAN, this, ckb_follow);

    tv_zhengce = (TextView) this.findViewById(R.id.tv_zhengce);
    StringUtils.setTextTypeface(FontType.XIYUAN, this, tv_zhengce);
  }
예제 #2
0
 @Override
 public void findViews() {
   // TODO Auto-generated method stub
   TitleManager.showTitle(this, new int[] {TitleManager.SET}, R.string.app_name, 0, 0, this);
   mViewPager = (ControlScrollViewPager) findViewById(R.id.id_viewpager);
 }