I have a RecyclerView
set to a vertical GridLayoutManager
shelfRecyclerView.setLayoutManager(new GridLayoutManager(getContext(),2));
elements inside the recyclerview have fixed width and height using sdp
so the horizontal divider width is fixed too.
is there any way to get the width of the horizontal divider and set the vertical divider width as the same as that?