如何停止addContentView隐藏我的expendablelistview的顶部?
|
我需要您的帮助,我的expendablelist活动中有一个expendablelist视图
谁隐藏了我的添加与addContentView。我该如何制止呢?
我只希望我的expendablelistview遵循其他视图。
mAdapter = new MyExpandableListAdapter(context, groups, childrens);
this.setListAdapter(mAdapter);
LayoutInflater inflater = getLayoutInflater();
getWindow().addContentView(inflater.inflate(R.layout.actionbar, null),
new ViewGroup.LayoutParams(ViewGroup.LayoutParams.WRAP_CONTENT,
45));
registerForContextMenu(getExpandableListView());
没有找到相关结果
已邀请:
1 个回复
锯康