//减一
case R.id.activity_jian:
//做判断的目的是不让值小于1
if (heTextView.getText().toString().equals("1")) {
heTextView.setText(1 + "");
}else {
heTextView.setText(Integer.valueOf(heTextView.getText().toString()) - 1);
}
break;
//加一
case R.id.activity_add:
heTextView.setText(Integer.valueOf(heTextView.getText().toString()) + 1);
break;