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.
具有 4 列的 Android 默认 GridView
这就是我从 GridView 中看到的 4 列。
请帮助我,我可以这样做。
尝试使用 GridLayout:
<GridLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="wrap_content" android:layout_height="match_parent" android:orientation="vertical" android:rowCount="3"> </GridLayout>