add buttton to changepostion for horizontal recycler recyclerview code example
Example: linearlayout horizontal in recyclerview
mRecyclerView.setLayoutManager(new LinearLayoutManager(this, LinearLayoutManager.HORIZONTAL, true));
mRecyclerView.setLayoutManager(new LinearLayoutManager(this, LinearLayoutManager.HORIZONTAL, true));