LinearLayoutManager linearLayoutManager = new LinearLayoutManager(getActivity());
linearLayoutManager.setOrientation(LinearLayout.VERTICAL);
re_left.setLayoutManager(linearLayoutManager);
re_left.addItemDecoration(new DividerItemDecoration(getActivity(),LinearLayoutManager.VERTICAL));
网格布局
GridLayoutManager layoutManager = new GridLayoutManager(getActivity(), 2);
re_right.setLayoutManager(layoutManager);