method:isSmoothScrollingEnabled ( )
return type:boolean
content:ใช้ตรวจสอบว่า มีการอนุณาติให้ใช้ smooth scroll หรือไม่
example:public class AndroidBamboo extends Activity
{
public void onCreate( Bundle savedInstanceState )
{
super.onCreate ( savedInstanceState );
HorizontalScrollView scroll_view = new HorizontalScrollView ( this );
Button button = new Button ( this );
button.setText ( "InTo BambooLabCode" );
scroll_view.addView ( button );
if ( scroll_view.isSmoothScrollingEnabled ( ) )
{
Toast.makeText ( this, "HorizontalScrollView is enabled smoothscroll", Toast.LENGTH_SHORT ).show ( );
}
setContentView( scroll_view );
}
}