Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在寻找一种方法来实现流体网格来显示正方形。 我发现 RecyclerView 与 StaggeredLayoutManager 相结合。问题是我刚刚找到了具有固定列宽的布局。但我也希望有一个可变的行和列的高度和宽度。 我想要达到的目标:
我通过编写自己的算法将视图插入到标准 Gridlayout 中解决了这个问题。