2017-06-21 43 views

回答

0

可以使用StaggeredGridLayoutManager

private StaggeredGridLayoutManager gaggeredGridLayoutManager; 
gaggeredGridLayoutManager = new StaggeredGridLayoutManager(2, 1); 
recyclerView.setLayoutManager(gaggeredGridLayoutManager); 

更多信息,請點擊此鏈接StaggeredGridLayoutManager

enter image description here

+0

這就是我所需要的!謝謝 ! –