Exemplo n.º 1
0
  private void setCompText() {

    btnSendEmailCode.setTextSize(TypedValue.COMPLEX_UNIT_SP, TextSizeUtil.getButtonTextSize());
    btnChange.setTextSize(TypedValue.COMPLEX_UNIT_SP, TextSizeUtil.getButtonTextSize());
    txtInfo.setTextSize(TypedValue.COMPLEX_UNIT_SP, TextSizeUtil.getForgotUpperInfoTextSize());
    txtToolbar.setTextSize(TypedValue.COMPLEX_UNIT_SP, TextSizeUtil.getToolbarTextSize());
    txtChangePass.setTextSize(
        TypedValue.COMPLEX_UNIT_SP, TextSizeUtil.getForgotChangePasswordTextSize());
  }
Exemplo n.º 2
0
 @Override
 protected void initViews() {
   txtToolbar =
       (TextViewRegular) findViewById(R.id.forgot_password_activity_screen_toolbar_textView);
   edtEmailCode =
       (EditTextRegular) findViewById(R.id.forgot_password_activity_screen_eMailCode_editText);
   edtEmailAddress =
       (EditTextRegular) findViewById(R.id.forgot_password_activity_screen_eMailAddress_editText);
   edtNewPassword =
       (EditTextRegular) findViewById(R.id.forgot_password_activity_screen_newPassword_editText);
   edtRePassword =
       (EditTextRegular) findViewById(R.id.forgot_password_activity_screen_rePassword_editText);
   btnSendEmailCode =
       (ButtonBold) findViewById(R.id.forgot_password_activity_screen_sendMe_eMailCode_button);
   btnChange = (ButtonBold) findViewById(R.id.forgot_password_activity_screen_change_button);
   txtChangePass =
       (TextViewBold) findViewById(R.id.forgot_password_activity_screen_change_password_text);
   txtInfo = (TextViewRegular) findViewById(R.id.forgot_password_activity_screen_info_textView);
   setCompText();
   btnSendEmailCode.setOnClickListener(sendCodeButtonClickListener);
 }