listView 嵌套gridView android

listView 嵌套gridView android 思路: 1.固定gridView ,禁用它的滾動操做(不然會混淆滑動事件) 1.獲得gridView 高度,即子控件的內容所有顯示出來,把高度傳給 onMeasure(); 3.自定義一個不能滾動的 gridView,並測量java 具體的方法是自定義GridView組件,繼承自GridView。重載onMeasure方法:android J
相關文章
相關標籤/搜索