FileDocCategorySizeDatePackage
Animation1.javaAPI DocGoogle Android v1.5 Example1461Sun Nov 11 13:01:04 GMT 2007com.google.android.samples.view

Animation1

public class Animation1 extends android.app.Activity implements View.OnClickListener

Fields Summary
Constructors Summary
Methods Summary
public voidonClick(android.view.View v)

        Animation shake = AnimationUtils.loadAnimation(this, R.anim.shake);

        v.startAnimation(shake);
    
public voidonCreate(android.os.Bundle icicle)

        super.onCreate(icicle);
        setContentView(R.layout.animation_1);

        EditText pw = ((EditText) this.findViewById(R.id.pw));
        pw.setOnClickListener(this);