2015-10-19 68 views

回答

0

如果我理解你的问题,你可能会寻求这样的事情。

LinearLayoutManager layoutManager 
= new LinearLayoutManager(this, LinearLayoutManager.HORIZONTAL, false); 

RecyclerView myList = (RecyclerView) findViewById(R.id.my_recycler_view); 
myList.setLayoutManager(layoutManager); 

只需在您的回收站视图中使用Horizo​​ntal LinearLayoutManager即可。