在上面的图像中,我只想显示像在recyclerview中那样的图像(例如重叠图像),我进行了很多搜索,但没有找到可以帮助我的相关信息
您必须使回收站视图像下面这样水平-
LinearLayoutManager layoutManager = new LinearLayoutManager(this, LinearLayoutManager.HORIZONTAL, false); RecyclerView myList = (RecyclerView) findViewById(R.id.my_recycler_view); myList.setLayoutManager(layoutManager);