设置子View的宽和高,具体是指的那个view?
mWapper = (LinearLayout) getChildAt(0); eMenu = (ViewGroup) mWapper.getChildAt(0); mContent = (ViewGroup) mWapper.getChildAt(1); 得到菜单和内容为什么要用到getChildAt(0);getChildAt(1)
mWapper = (LinearLayout) getChildAt(0); eMenu = (ViewGroup) mWapper.getChildAt(0); mContent = (ViewGroup) mWapper.getChildAt(1); 得到菜单和内容为什么要用到getChildAt(0);getChildAt(1)
2016-04-06
举报