method:removeViews ( int start, int count )
return type:void
content:ใช้ลบ 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 );
Button button_3 = new Button ( this );
button_3.setText ( "Animator 3" );
animator.addView ( button_3 );
animator.removeViews ( 0, 1 );
setContentView ( animator );
}
}