FileDocCategorySizeDatePackage
Animation1.javaAPI DocAndroid 1.5 API1485Wed May 06 22:41:08 BST 2009com.example.android.apis.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);
        findViewById(R.id.pw).startAnimation(shake);
    
public voidonCreate(android.os.Bundle savedInstanceState)

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

        View loginButton = findViewById(R.id.login);
        loginButton.setOnClickListener(this);