method:getDropDownHeight ( )
return type:int
content:ใช้คืนค่า ขนาดความสูง ของ DropDown ของ Object AutoCompleteTextView
example:public class AndroidBamboo extends Activity
{
public void onCreate( Bundle savedInstanceState )
{
super.onCreate ( savedInstanceState );
AutoCompleteTextView text_auto_complete = new AutoCompleteTextView ( this );
ArrayAdapter array_adapter = new ArrayAdapter <String> ( this, android.R.layout.simple_dropdown_item_1line );
String [ ] items = { "bam", "boo", "lab", "code", "programming", "framework", "android" };
array_adapter.add ( items );
text_auto_complete.setAdapter ( array_adapter );
int dropdown_height = text_auto_complete.getDropDownHeight ( );
setContentView( text_auto_complete );
}
}