📜  android网格列 - 任何代码示例

📅  最后修改于: 2022-03-11 14:55:32.142000             🧑  作者: Mango

代码示例1
in res/values/dimens.xml:

1

in res/values-w600dp/dimens.xml:

2

in java:

int gridColumns = getResources().getInteger(R.integer.grid_columns);