在androidstudio中创建tablelayout布局,在design界面不能拖放控件,我知道可以使用代码完成,只是想知道为什么会这样以及怎样处理,使用其他如linearlayout等没有问题,谢谢
因为是tablelayout布局不能包含其他布局只能包含tablerow ,如果你的tablelayout中没有tablerow,就不能进行拖曳控件到tablelayout里面了