永发信息网

(c语言)在利用c语言建立一个选课查询系统的过程中,如何设计一个可以【实现排序功能】的模块,应用【

答案:2  悬赏:20  手机版
解决时间 2021-11-07 16:04
  • 提问者网友:泪痣哥哥
  • 2021-11-07 07:53
(c语言)在利用c语言建立一个选课查询系统的过程中,如何设计一个可以【实现排序功能】的模块,应用【
最佳答案
  • 五星知识达人网友:猎心人
  • 2021-11-07 09:22
protected void onLayout(boolean changed, int l, int t, int r, int b)
{
View menuView = mLeftMenuView;
View contentView = mContentView;

MarginLayoutParams lp = (MarginLayoutParams) contentView.getLayoutParams();
contentView.layout(lp.leftMargin, lp.topMargin,
lp.leftMargin + contentView.getMeasuredWidth(),
lp.topMargin + contentView.getMeasuredHeight());

lp = (MarginLayoutParams) menuView.getLayoutParams();

final int menuWidth = menuView.getMeasuredWidth();
int childLeft = -menuWidth + (int) (menuWidth * mLeftMenuOnScrren);
menuView.layout(childLeft, lp.topMargin, childLeft + menuWidth,
lp.topMargin + menuView.getMeasuredHeight());
}
全部回答
  • 1楼网友:旧脸谱
  • 2021-11-07 10:41
选课 查询系统我知道我有安排追问什么
我要举报
如以上回答内容为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
点此我要举报以上问答信息
大家都在看
推荐资讯