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.
我需要制作一个水平列表视图,在被点击时展开。实现这一目标的最佳方法是什么?谢谢 !
也参考这个问题。它也解决了类似的问题。谢谢 !
我认为最好的解决方案是使用 setOnItemClickListener() 并在运行时使用 setLayoutParams(new LayoutParams(width, height)) 增加大小。