method:addView ( View child )
return type:void
content:ใช้เพิ่ม Object View เข้าไปใน Object ViewAnimator
example:public class AndroidBamboo extends Activity
{
public void onCreate( Bundle savedInstanceState )
{
super.onCreate ( savedInstanceState );
ViewAnimator animator = new ViewAnimator ( this );
Button button_1 = new Button ( this );
button_1.setText ( "Animator 1" );
animator.addView ( button_1 );
Button button_2 = new Button ( this );
button_2.setText ( "Animator 2" );
animator.addView ( button_2 );
setContentView ( animator );
}
}