protected void onCreate(Bundle savedInstanceState)
{
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
Log.d("a", String.valueOf(tableLayout.getTop()
+"Bottom:"+ String.valueOf(tableLayout.getBottom())
+"Height:"+ String.valueOf(tableLayout.getHeight())
+"Left:"+ String.valueOf(tableLayout.getLeft())
+"Right:"+ String.valueOf(tableLayout.getRight())
}
为什么都是 “0”!!!!
有什么方法能获得控件 宽高数据!???
------解决方案--------------------
很具有社会主义特色!