android - 网格视图底部菜单
解决方案
您可以将此 xml 用于网格视图,
<?xml version="1.0" encoding="utf-8"?>
<GridView xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/gridview"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:columnWidth="90dp"
android:numColumns="auto_fit"
android:verticalSpacing="10dp"
android:horizontalSpacing="10dp"
android:stretchMode="columnWidth"
android:gravity="center"
/>
推荐阅读
- react-native - 升级到 react-native 0.56 后无法运行测试
- machine-learning - Rasa Core - 理解故事
- python - 将 Eigen 数组从 c++ 传输到 python 时的地址更改
- python - 无法导入模块 Python 3 Windows
- javascript - 无法让 innerHTML 在某个特定位置工作。我不明白
- sonarqube - sonar7.2.1 如何扫描两种特定语言
- python - 在 Django 后端服务多个 RASA 机器人
- azure - Azure服务结构中的EnableDefaultServicesUpgrade没有默认启用有什么原因吗
- java - Java/Hibernate - 继承存储库架构
- networking - 什么是 198.51.100.2