private void initView() { TextView tv_title = (TextView) findViewById(R.id.tv_title); ibtn_title_back = (ImageButton) findViewById(R.id.ibtn_title_back); ibtn_title_back.setVisibility(View.VISIBLE); TextView tv_right = (TextView) findViewById(R.id.tv_right); tv_right.setVisibility(View.GONE); tv_title.setText("银行卡支付"); cz_money = getIntent().getStringExtra("tip"); et_user_name = (EditText) findViewById(R.id.et_user_name); et_user_card = (EditText) findViewById(R.id.et_user_card); et_user_ban = (EditText) findViewById(R.id.et_user_ban); et_user_phone = (EditText) findViewById(R.id.et_user_phone); ibtn_submit_next = (Button) findViewById(R.id.ibtn_submit_next); rl_bank_name = (RelativeLayout) findViewById(R.id.rl_bank_name); tv_bank_name = (TextView) findViewById(R.id.tv_bank_name_name); btn_vericode = (Button) findViewById(R.id.btn_vericode); bankcardnum = (TextView) findViewById(R.id.bankcardnum); et_vericode = (EditText) findViewById(R.id.et_vericode); ibtn_submit_next.setEnabled(false); }
@Override public void onTextChanged(CharSequence charSequence, int i, int i1, int i2) { ibtn_submit_next.setEnabled(true); }