Animation shake = AnimationUtils.loadAnimation(this, R.anim.shake); v.startAnimation(shake);
super.onCreate(icicle); setContentView(R.layout.animation_1); EditText pw = ((EditText) this.findViewById(R.id.pw)); pw.setOnClickListener(this);