你知道怎么画线LinearLayout
吗?要创建LinearLayout
,我使用的是 xml 资源:
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main_layout);
LinearLayout linear = (LinearLayout)findViewById(R.id.linearlayout);
//I wanna draw line on "linear"
}
是否可以 ?